[vlc-commits] qml: decrease font size of BannerTabButton

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


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Dec 22 00:14:03 2020 +0530| [84024f48a79a6e3aebe25b46182c058f769f419c] | committer: Pierre Lamot

qml: decrease font size of BannerTabButton

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

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

 modules/gui/qt/widgets/qml/BannerTabButton.qml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/BannerTabButton.qml b/modules/gui/qt/widgets/qml/BannerTabButton.qml
index 358aec40b0..c10416c120 100644
--- a/modules/gui/qt/widgets/qml/BannerTabButton.qml
+++ b/modules/gui/qt/widgets/qml/BannerTabButton.qml
@@ -72,9 +72,11 @@ T.TabButton {
                                                                 : ((control.selected) ? VLCStyle.colors.accent : VLCStyle.colors.text)
             }
 
-            Widgets.MenuLabel {
+            Label {
                 id: txt
+
                 visible: showText
+                font.pixelSize: VLCStyle.fontSize_normal
                 font.weight: (control.activeFocus || control.hovered || control.selected) ? Font.DemiBold : Font.Normal
                 color: (control.activeFocus || control.hovered) ? VLCStyle.colors.accentText
                                                                 : ((control.selected) ? VLCStyle.colors.text : VLCStyle.colors.menuCaption)



More information about the vlc-commits mailing list