vlc | branch: master | Rohan Rajpal <[email protected]> | 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 <[email protected]>

> 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)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to