vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Fri Jan 8 23:04:47 2021 +0530| [f87fa614d50620a984841cdd4f036245b8ec08ac] | committer: Pierre Lamot
qml: change spacing and margins in ControlBar Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f87fa614d50620a984841cdd4f036245b8ec08ac --- modules/gui/qt/player/qml/ControlBar.qml | 9 ++++++--- modules/gui/qt/player/qml/Player.qml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/gui/qt/player/qml/ControlBar.qml b/modules/gui/qt/player/qml/ControlBar.qml index 3f42107636..ff0c8ea4a6 100644 --- a/modules/gui/qt/player/qml/ControlBar.qml +++ b/modules/gui/qt/player/qml/ControlBar.qml @@ -47,11 +47,12 @@ Widgets.NavigableFocusScope { ColumnLayout { id: columnLayout anchors.fill: parent - spacing: VLCStyle.margin_xsmall - anchors.leftMargin: VLCStyle.margin_xlarge - anchors.rightMargin: VLCStyle.margin_xlarge + spacing: VLCStyle.margin_small RowLayout { + Layout.leftMargin: VLCStyle.margin_normal + Layout.rightMargin: VLCStyle.margin_normal + Text { text: player.time.toString() color: root.colors.playerFg @@ -94,6 +95,8 @@ Widgets.NavigableFocusScope { Item { Layout.fillWidth: true + Layout.leftMargin: VLCStyle.margin_normal + Layout.rightMargin: VLCStyle.margin_normal Layout.bottomMargin: VLCStyle.margin_xsmall Layout.preferredHeight: playerButtonsLayout.implicitHeight diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml index 5e1681e7ad..62f421019f 100644 --- a/modules/gui/qt/player/qml/Player.qml +++ b/modules/gui/qt/player/qml/Player.qml @@ -35,7 +35,7 @@ Widgets.NavigableFocusScope { property var _menu: undefined property bool hasEmbededVideo: mainInterface.hasEmbededVideo - readonly property int positionSliderY: controlBarView.y + VLCStyle.fontHeight_normal + VLCStyle.margin_xsmall + readonly property int positionSliderY: controlBarView.y + VLCStyle.fontHeight_normal + VLCStyle.margin_small property VLCColors colors: VLCStyle.nightColors _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits