[vlc-commits] qml: allow to underline item in IconToolButton
Pierre Lamot
git at videolan.org
Mon Oct 14 11:58:58 CEST 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Sep 25 16:48:53 2019 +0200| [c5e36be5e6203c8b0cab9daad2583853cc226ea7] | committer: Jean-Baptiste Kempf
qml: allow to underline item in IconToolButton
this can be used to mark the current focus on the item
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5e36be5e6203c8b0cab9daad2583853cc226ea7
---
modules/gui/qt/qml/utils/IconToolButton.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/qml/utils/IconToolButton.qml b/modules/gui/qt/qml/utils/IconToolButton.qml
index 4f282431e9..8174409649 100644
--- a/modules/gui/qt/qml/utils/IconToolButton.qml
+++ b/modules/gui/qt/qml/utils/IconToolButton.qml
@@ -55,6 +55,7 @@ ToolButton {
font.pixelSize: control.size
font.family: VLCIcons.fontFamily
+ font.underline: control.font.underline
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
More information about the vlc-commits
mailing list