[vlc-devel] [PATCH 08/39] qml: decrease font size of BannerTabButton
Prince Gupta
guptaprince8832 at gmail.com
Thu Jan 7 11:50:04 UTC 2021
---
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)
--
2.25.1
More information about the vlc-devel
mailing list