vlc | branch: master | Adrien Maglo <[email protected]> | Wed Jun 26 
11:21:41 2019 +0200| [3dc64d67279c31cb2635bdf9ec80941369e812e5] | committer: 
Jean-Baptiste Kempf

QML: use NativeRendering for icon labels

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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 7e4eb8de11..1b3726c1bd 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
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to