[vlc-commits] qml: ComboBox style changes

Rohan Rajpal git at videolan.org
Tue Jul 16 10:43:33 CEST 2019


vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Fri Jun 28 15:34:05 2019 +0530| [b84355e813bd27cae47fda6cd8d8349afe72a91f] | committer: Jean-Baptiste Kempf

qml: ComboBox style changes

Styling changes for combobox to
adjust to the VLC theme

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

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

 modules/gui/qt/qml/utils/ComboBoxExt.qml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/qml/utils/ComboBoxExt.qml b/modules/gui/qt/qml/utils/ComboBoxExt.qml
index 6e2b037b13..2fce22ebd1 100644
--- a/modules/gui/qt/qml/utils/ComboBoxExt.qml
+++ b/modules/gui/qt/qml/utils/ComboBoxExt.qml
@@ -23,7 +23,8 @@ import "qrc:///style/"
 ComboBox {
     id: control
 
-    font.pixelSize: VLCStyle.fontSize_normal
+    font.pixelSize: VLCStyle.fontSize_large
+    leftPadding: 5
 
     delegate: ItemDelegate {
         width: control.width
@@ -43,8 +44,8 @@ ComboBox {
         id: canvas
         x: control.width - width - control.rightPadding
         y: control.topPadding + (control.availableHeight - height) / 2
-        width: 12
-        height: 8
+        width: 10
+        height: 6
         contextType: "2d"
 
         Connections {
@@ -64,7 +65,7 @@ ComboBox {
     }
 
     contentItem: Text {
-        leftPadding: 0
+        leftPadding: 5
         rightPadding: control.indicator.width + control.spacing
 
         text: control.displayText



More information about the vlc-commits mailing list