[vlc-devel] [PATCH 16/18] qml: don't override set height in SortControl

Prince Gupta guptaprince8832 at gmail.com
Thu Aug 20 14:15:39 CEST 2020


---
 modules/gui/qt/widgets/qml/SortControl.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/SortControl.qml b/modules/gui/qt/widgets/qml/SortControl.qml
index e44206a55e..e14966277e 100644
--- a/modules/gui/qt/widgets/qml/SortControl.qml
+++ b/modules/gui/qt/widgets/qml/SortControl.qml
@@ -25,7 +25,6 @@ Widgets.NavigableFocusScope {
     id: root
 
     width: childrenRect.width
-    height: childrenRect.height
 
     property alias model: list.model
     property string textRole
@@ -56,6 +55,7 @@ Widgets.NavigableFocusScope {
         size: VLCStyle.banner_icon_size
         iconText: VLCIcons.topbar_sort
         text: i18n.qtr("Sort")
+        height: root.height
 
         focus: true
 
-- 
2.25.1



More information about the vlc-devel mailing list