mirror of https://code.videolan.org/videolan/vlc
qml: forward spacing in ControlLayout
This commit is contained in:
parent
b84994a733
commit
3d1addbfef
|
@ -95,6 +95,8 @@ FocusScope {
|
|||
|
||||
property alias model: repeater.model
|
||||
|
||||
property alias spacing: rowLayout.spacing
|
||||
|
||||
// Signals
|
||||
|
||||
signal requestLockUnlockAutoHide(bool lock)
|
||||
|
@ -143,8 +145,6 @@ FocusScope {
|
|||
|
||||
anchors.fill: parent
|
||||
|
||||
spacing: playerControlLayout.spacing
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: visible
|
||||
visible: (controlLayout.alignment & Qt.AlignRight)
|
||||
|
|
|
@ -194,6 +194,8 @@ FocusScope {
|
|||
|
||||
alignment: (Qt.AlignVCenter | Qt.AlignLeft)
|
||||
|
||||
spacing: playerControlLayout.spacing
|
||||
|
||||
focus: true
|
||||
|
||||
altFocusAction: Navigation.defaultNavigationRight
|
||||
|
@ -253,6 +255,8 @@ FocusScope {
|
|||
|
||||
focus: true
|
||||
|
||||
spacing: playerControlLayout.spacing
|
||||
|
||||
altFocusAction: Navigation.defaultNavigationUp
|
||||
|
||||
Navigation.parentItem: playerControlLayout
|
||||
|
@ -292,6 +296,8 @@ FocusScope {
|
|||
|
||||
alignment: (Qt.AlignVCenter | Qt.AlignRight)
|
||||
|
||||
spacing: playerControlLayout.spacing
|
||||
|
||||
focus: true
|
||||
|
||||
altFocusAction: Navigation.defaultNavigationLeft
|
||||
|
|
Loading…
Reference in New Issue