[vlc-commits] qml: use VLCStyle.icon_normal as default icon size in widget TabButtonExt
Prince Gupta
git at videolan.org
Mon Jan 4 13:37:49 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Dec 14 23:18:21 2020 +0530| [d5d107f3904baf7378daf1fb4608cf70e2fe3664] | committer: Pierre Lamot
qml: use VLCStyle.icon_normal as default icon size in widget TabButtonExt
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5d107f3904baf7378daf1fb4608cf70e2fe3664
---
modules/gui/qt/widgets/qml/TabButtonExt.qml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/widgets/qml/TabButtonExt.qml b/modules/gui/qt/widgets/qml/TabButtonExt.qml
index 2b526129b4..56b9beb59c 100644
--- a/modules/gui/qt/widgets/qml/TabButtonExt.qml
+++ b/modules/gui/qt/widgets/qml/TabButtonExt.qml
@@ -36,6 +36,7 @@ T.TabButton {
implicitHeight: contentItem.implicitHeight
property string iconTxt: ""
+ property int iconSize: VLCStyle.icon_normal
property bool selected: false
property color color: focusBackground.foregroundColor
property bool busy: false
@@ -80,7 +81,7 @@ T.TabButton {
text: control.iconTxt
color: control.color
- font.pixelSize: VLCIcons.pixelSize(VLCStyle.icon_topbar)
+ font.pixelSize: VLCIcons.pixelSize(control.iconSize)
}
BusyIndicator {
More information about the vlc-commits
mailing list