[vlc-devel] [PATCH 3/5] qml: ComboBox style changes
Rohan Rajpal
rohan17089 at iiitd.ac.in
Fri Jun 28 11:46:05 CEST 2019
Styling changes for combobox to
adjust to the VLC theme
---
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
--
2.17.1
More information about the vlc-devel
mailing list