[vlc-commits] Revert "QML: use NativeRendering for icon labels"
Pierre Lamot
git at videolan.org
Sun Jul 28 08:43:56 CEST 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Jul 18 10:02:11 2019 +0200| [ab528110890f65782635c1028d9ce9e335b9b498] | committer: Jean-Baptiste Kempf
Revert "QML: use NativeRendering for icon labels"
This reverts commit 3dc64d67279c31cb2635bdf9ec80941369e812e5.
native glyph rendering is broken with fractional scale factor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab528110890f65782635c1028d9ce9e335b9b498
---
modules/gui/qt/qml/BannerSources.qml | 1 -
modules/gui/qt/qml/utils/IconToolButton.qml | 1 -
2 files changed, 2 deletions(-)
diff --git a/modules/gui/qt/qml/BannerSources.qml b/modules/gui/qt/qml/BannerSources.qml
index 529b3e4851..9cac3aef95 100644
--- a/modules/gui/qt/qml/BannerSources.qml
+++ b/modules/gui/qt/qml/BannerSources.qml
@@ -174,7 +174,6 @@ 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 7df92da457..6b0bcd0199 100644
--- a/modules/gui/qt/qml/utils/IconToolButton.qml
+++ b/modules/gui/qt/qml/utils/IconToolButton.qml
@@ -55,7 +55,6 @@ ToolButton {
anchors.centerIn: parent
- renderType: Text.NativeRendering
font.pixelSize: control.size
font.family: VLCIcons.fontFamily
More information about the vlc-commits
mailing list