[vlc-commits] qml: Add combobox sizes

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


vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Tue Jul 30 00:06:41 2019 +0530| [35c11d05e1999cafdf9fd01f37289748b36c4cb3] | committer: Jean-Baptiste Kempf

qml: Add combobox sizes

Add generic combobox sizes.

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

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

 modules/gui/qt/qml/style/VLCStyle.qml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/modules/gui/qt/qml/style/VLCStyle.qml b/modules/gui/qt/qml/style/VLCStyle.qml
index bf0ca04933..899bc41a09 100644
--- a/modules/gui/qt/qml/style/VLCStyle.qml
+++ b/modules/gui/qt/qml/style/VLCStyle.qml
@@ -103,6 +103,15 @@ Item {
 
     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;



More information about the vlc-commits mailing list