Skip to content
Snippets Groups Projects
Commit a6be4a24 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: adjust implicit height of PlayerButtonsLayout

parent 36699fad
No related branches found
No related tags found
1 merge request!417qml: controlbar/controlbuttons improvements
......@@ -26,7 +26,7 @@ import "qrc:///widgets/" as Widgets
FocusScope {
id: playerButtonsLayout
implicitHeight: Math.max(buttonrow_left.implicitHeight, buttonrow_center.implicitHeight, buttonrow_right.implicitHeight)
implicitHeight: VLCStyle.maxControlbarControlHeight
property alias parentWindow: controlmodelbuttons.parentWindow
......@@ -69,7 +69,8 @@ FocusScope {
anchors {
left: parent.left
verticalCenter: parent.verticalCenter
top: parent.top
bottom: parent.bottom
leftMargin: marginLeft
topMargin: marginTop
......@@ -102,7 +103,9 @@ FocusScope {
id: buttonrow_center
anchors {
centerIn: parent
horizontalCenter: parent.horizontalCenter
top: parent.top
bottom: parent.bottom
topMargin: playerButtonsLayout.marginTop
bottomMargin: playerButtonsLayout.marginBottom
......@@ -129,7 +132,8 @@ FocusScope {
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
top: parent.top
bottom: parent.bottom
rightMargin: marginRight
topMargin: marginTop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment