From f4454ee0fa8d4f1f104e74b26ab2344dea6ba26e Mon Sep 17 00:00:00 2001 From: Fatih Uzunoglu Date: Thu, 15 Jul 2021 18:12:22 +0300 Subject: [PATCH] qml: disable internal margin in PlayerButtonsLayout --- modules/gui/qt/player/qml/PlayerButtonsLayout.qml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/gui/qt/player/qml/PlayerButtonsLayout.qml b/modules/gui/qt/player/qml/PlayerButtonsLayout.qml index 2f6a7c4d44..e37d5b122a 100644 --- a/modules/gui/qt/player/qml/PlayerButtonsLayout.qml +++ b/modules/gui/qt/player/qml/PlayerButtonsLayout.qml @@ -30,11 +30,6 @@ FocusScope { property alias parentWindow: controlmodelbuttons.parentWindow - property real marginLeft: VLCStyle.margin_normal - property real marginRight: VLCStyle.margin_normal - property real marginTop: 0 - property real marginBottom: 0 - property var colors: undefined property var defaultSize: VLCStyle.icon_normal // default size for IconToolButton based controls @@ -72,9 +67,6 @@ FocusScope { top: parent.top bottom: parent.bottom - leftMargin: marginLeft - topMargin: marginTop - bottomMargin: marginBottom rightMargin: layoutSpacing } @@ -106,9 +98,6 @@ FocusScope { horizontalCenter: parent.horizontalCenter top: parent.top bottom: parent.bottom - - topMargin: playerButtonsLayout.marginTop - bottomMargin: playerButtonsLayout.marginBottom } active: !!playerButtonsLayout.model @@ -135,9 +124,6 @@ FocusScope { top: parent.top bottom: parent.bottom - rightMargin: marginRight - topMargin: marginTop - bottomMargin: marginBottom leftMargin: layoutSpacing }