[vlc-devel] [PATCH 12/16] qml: Combobox size changes

Rohan Rajpal rohan17089 at iiitd.ac.in
Wed Jul 31 14:30:52 CEST 2019


Make combobox resizable
---
 modules/gui/qt/qml/utils/ComboBoxExt.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/qml/utils/ComboBoxExt.qml b/modules/gui/qt/qml/utils/ComboBoxExt.qml
index 2fce22ebd1..339e96d8a4 100644
--- a/modules/gui/qt/qml/utils/ComboBoxExt.qml
+++ b/modules/gui/qt/qml/utils/ComboBoxExt.qml
@@ -76,8 +76,8 @@ ComboBox {
     }
 
     background: Rectangle {
-        implicitWidth: 120
-        implicitHeight: 40
+        implicitWidth: control.width
+        implicitHeight: control.height
         color: VLCStyle.colors.button
         border.color: control.activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.buttonBorder
         border.width: control.activeFocus ? 2 : 1
-- 
2.17.1



More information about the vlc-devel mailing list