[vlc-commits] qml: introduce sizes for buttons in local toolbar in VLCStyle

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


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Dec 23 20:03:11 2020 +0530| [99af15c8ecccde387938d30761ae7d10178a2285] | committer: Pierre Lamot

qml: introduce sizes for buttons in local toolbar in VLCStyle

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

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

 modules/gui/qt/style/VLCStyle.qml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt/style/VLCStyle.qml b/modules/gui/qt/style/VLCStyle.qml
index 0cef82f557..6c401cfcba 100644
--- a/modules/gui/qt/style/VLCStyle.qml
+++ b/modules/gui/qt/style/VLCStyle.qml
@@ -211,6 +211,9 @@ Item {
     property int bannerTabButton_width_small: banner_icon_size
     property int bannerTabButton_width_large: column_width
 
+    property int bannerButton_height: dp(32, scale)
+    property int bannerButton_width: dp(40, scale)
+
     //timings
     property int delayToolTipAppear: 500;
     property int timingPlaylistClose: 1000;



More information about the vlc-commits mailing list