[vlc-commits] qml: allow changing button width in SeachBox

Prince Gupta git at videolan.org
Thu Jan 14 14:42:22 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Dec 23 20:04:14 2020 +0530| [7d1296d9bfdb5199ae4339ba53245d454422455d] | committer: Pierre Lamot

qml: allow changing button width in SeachBox

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

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

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

diff --git a/modules/gui/qt/widgets/qml/SearchBox.qml b/modules/gui/qt/widgets/qml/SearchBox.qml
index 3d2e1ab493..11a321218d 100644
--- a/modules/gui/qt/widgets/qml/SearchBox.qml
+++ b/modules/gui/qt/widgets/qml/SearchBox.qml
@@ -29,6 +29,7 @@ Widgets.NavigableFocusScope {
     width: content.width
 
     property variant contentModel
+    property alias buttonWidth: icon.width
 
     property bool expanded: false
 



More information about the vlc-commits mailing list