[vlc-commits] qml: Combobox size changes
    Rohan Rajpal 
    git at videolan.org
       
    Wed Aug 21 16:26:49 CEST 2019
    
    
  
vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Sat Jul  6 11:17:08 2019 +0530| [5233ba7c1e21a105018b888c41adb95ce4273b3d] | committer: Jean-Baptiste Kempf
qml: Combobox size changes
Make combobox resizable
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5233ba7c1e21a105018b888c41adb95ce4273b3d
---
 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
    
    
More information about the vlc-commits
mailing list