[vlc-devel] [PATCH 1/2] qml: Add combobox sizes

Rohan Rajpal rohan17089 at iiitd.ac.in
Mon Jul 29 12:54:43 CEST 2019


Add generic combobox sizes.
---
 modules/gui/qt/qml/style/VLCStyle.qml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/modules/gui/qt/qml/style/VLCStyle.qml b/modules/gui/qt/qml/style/VLCStyle.qml
index bf0ca04933..961ea6da39 100644
--- a/modules/gui/qt/qml/style/VLCStyle.qml
+++ b/modules/gui/qt/qml/style/VLCStyle.qml
@@ -97,12 +97,23 @@ Item {
     property int widthSearchInput: 200 * scale;
     property int widthSortBox: 150 * scale;
     property int widthTeletext: 280 * scale;
+    property int widthAspectRatio: 100 * scale;
+    property int heightAspectRatio: 22 * scale;
     property int heightInput: 22 * scale;
 
     property int selectedBorder: 2
 
     property int miniPlayerHeight: 60 * scale;
 
+    //combobox
+    property int combobox_width_small: 64 * scale
+    property int combobox_width_normal: 96 * scale
+    property int combobox_width_large: 128 * scale
+
+    property int combobox_height_small: 16 * scale
+    property int combobox_height_normal: 24 * scale
+    property int combobox_height_large: 30 * scale
+
     //timings
     property int delayToolTipAppear: 500;
     property int timingPlaylistClose: 1000;
-- 
2.17.1



More information about the vlc-devel mailing list