[vlc-devel] [PATCH 4/4] QML: use NativeRendering for icon labels
Adrien Maglo
magsoft at videolan.org
Wed Jun 26 11:21:41 CEST 2019
---
modules/gui/qt/qml/BannerSources.qml | 1 +
modules/gui/qt/qml/utils/IconToolButton.qml | 1 +
2 files changed, 2 insertions(+)
diff --git a/modules/gui/qt/qml/BannerSources.qml b/modules/gui/qt/qml/BannerSources.qml
index d912c1f954..1bc2c59773 100644
--- a/modules/gui/qt/qml/BannerSources.qml
+++ b/modules/gui/qt/qml/BannerSources.qml
@@ -171,6 +171,7 @@ Utils.NavigableFocusScope {
anchors.verticalCenter: parent.verticalCenter
color: VLCStyle.colors.buttonText
+ renderType: Text.NativeRendering
font.pixelSize: VLCStyle.icon_topbar
font.family: VLCIcons.fontFamily
horizontalAlignment: Text.AlignHCenter
diff --git a/modules/gui/qt/qml/utils/IconToolButton.qml b/modules/gui/qt/qml/utils/IconToolButton.qml
index 6b0bcd0199..7df92da457 100644
--- a/modules/gui/qt/qml/utils/IconToolButton.qml
+++ b/modules/gui/qt/qml/utils/IconToolButton.qml
@@ -55,6 +55,7 @@ ToolButton {
anchors.centerIn: parent
+ renderType: Text.NativeRendering
font.pixelSize: control.size
font.family: VLCIcons.fontFamily
--
2.20.1
More information about the vlc-devel
mailing list