[vlc-commits] qml: use set height for search icon button in SearchBox

Prince Gupta git at videolan.org
Thu Aug 27 12:44:02 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Aug 17 20:50:38 2020 +0530| [ba7c50a8340738c4bc8b298e156d122fcbcd0fc6] | committer: Pierre Lamot

qml: use set height for search icon button in SearchBox

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

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

diff --git a/modules/gui/qt/widgets/qml/SearchBox.qml b/modules/gui/qt/widgets/qml/SearchBox.qml
index 595f289eb7..776ce140a9 100644
--- a/modules/gui/qt/widgets/qml/SearchBox.qml
+++ b/modules/gui/qt/widgets/qml/SearchBox.qml
@@ -28,7 +28,6 @@ Widgets.NavigableFocusScope {
     id: root
 
     width: content.width
-    height: content.height
 
     property variant contentModel
 
@@ -86,6 +85,7 @@ Widgets.NavigableFocusScope {
             size: VLCStyle.banner_icon_size
             iconText: VLCIcons.search
             text: i18n.qtr("Filter")
+            height: root.height
 
             focus: true
 



More information about the vlc-commits mailing list