forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user