[vlc-commits] qml: Aspectratio widget size changes

Rohan Rajpal git at videolan.org
Tue Jul 30 17:48:19 CEST 2019


vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Mon Jul 29 16:42:44 2019 +0530| [4b0c6e7ffe6d060eb950c39b7f92cf489cfb2865] | committer: Jean-Baptiste Kempf

qml: Aspectratio widget size changes

Remove hardcoding from aspect ratio widget.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b0c6e7ffe6d060eb950c39b7f92cf489cfb2865
---

 modules/gui/qt/qml/player/ControlButtons.qml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/qml/player/ControlButtons.qml b/modules/gui/qt/qml/player/ControlButtons.qml
index f680e52e5a..dcec914c6b 100644
--- a/modules/gui/qt/qml/player/ControlButtons.qml
+++ b/modules/gui/qt/qml/player/ControlButtons.qml
@@ -397,10 +397,9 @@ Item{
     Component{
         id: aspectRatioDelegate
         Utils.ComboBoxExt {
-            id: combo
             Layout.alignment: Qt.AlignVCenter
-            height: 28 * scale
-            width: 100 * scale
+            width: VLCStyle.combobox_width_normal
+            height: VLCStyle.combobox_height_normal
             textRole: "display"
             model: player.aspectRatio
             onCurrentIndexChanged: model.toggleIndex(currentIndex)



More information about the vlc-commits mailing list