mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
qml/ControlLayout: Update the 'defaultSize' binding
This commit is contained in:
parent
2d886b18ff
commit
02b7d2491e
@ -167,7 +167,8 @@ FocusScope {
|
||||
// so it can be set here unlike leftItem and rightItem:
|
||||
item.Navigation.parentItem = controlLayout
|
||||
|
||||
if (item instanceof Widgets.IconToolButton)
|
||||
// FIXME: Do we really need to enforce a defaultSize ?
|
||||
if (item.size !== undefined)
|
||||
item.size = Qt.binding(function() { return defaultSize; })
|
||||
|
||||
// force colors:
|
||||
|
Loading…
Reference in New Issue
Block a user