QmlDesigner: Adjust icon size

The icons were scaled down and became really muddy on low dpi screens.
With Hennings additions we create high dpi versions behind the scene
in any case.

Change-Id: Iab94989b6cfae7b5cefcd7bcded4efa3a1d35a6f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2020-04-22 12:47:19 +02:00
parent 00f4145de8
commit ff211e57f4
2 changed files with 5 additions and 5 deletions

View File

@@ -164,7 +164,7 @@ QIcon RichTextEditor::getIcon(Theme::Icon icon)
{ {
const QString fontName = "qtds_propertyIconFont.ttf"; const QString fontName = "qtds_propertyIconFont.ttf";
return Utils::StyleHelper::getIconFromIconFont(fontName, Theme::getIconUnicode(icon), 36, 36); return Utils::StyleHelper::getIconFromIconFont(fontName, Theme::getIconUnicode(icon), 20, 20);
} }
QString RichTextEditor::richText() const QString RichTextEditor::richText() const

View File

@@ -24,8 +24,8 @@
<widget class="QToolBar" name="toolBar"> <widget class="QToolBar" name="toolBar">
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>36</width> <width>20</width>
<height>36</height> <height>20</height>
</size> </size>
</property> </property>
</widget> </widget>
@@ -34,8 +34,8 @@
<widget class="QToolBar" name="tableBar"> <widget class="QToolBar" name="tableBar">
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>36</width> <width>20</width>
<height>36</height> <height>20</height>
</size> </size>
</property> </property>
</widget> </widget>