aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@theqtcompany.com>2016-04-13 23:34:17 +0200
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2016-04-14 07:38:11 +0000
commitbdda00d7cbad67dce83513050ad6fe4495dfafba (patch)
tree9a53d15686d6bb190f2930a76bbd799264882351 /share
parent28dcb424135b01316d7e6dc792055defee2b4945 (diff)
WelcomeScreen: QImageProvider fix
Adapting to fix for QTBUG-38127. Otherwise, the icons are too big in a HighDPI case. Task-number: QTBUG-38127 Change-Id: I70e27c06eaf1f2efa89c31d0a190aba52af28038 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/widgets/ProjectItem.qml2
-rw-r--r--share/qtcreator/welcomescreen/widgets/SessionItem.qml4
2 files changed, 6 insertions, 0 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/ProjectItem.qml b/share/qtcreator/welcomescreen/widgets/ProjectItem.qml
index eb831d5451..02196c7bf9 100644
--- a/share/qtcreator/welcomescreen/widgets/ProjectItem.qml
+++ b/share/qtcreator/welcomescreen/widgets/ProjectItem.qml
@@ -41,6 +41,8 @@ Rectangle {
id: icon
x: 11
y: 6
+ height: 16
+ width: 16
source: "image://icons/project/Welcome_ForegroundSecondaryColor"
}
diff --git a/share/qtcreator/welcomescreen/widgets/SessionItem.qml b/share/qtcreator/welcomescreen/widgets/SessionItem.qml
index f617dfeedc..bf63db8edf 100644
--- a/share/qtcreator/welcomescreen/widgets/SessionItem.qml
+++ b/share/qtcreator/welcomescreen/widgets/SessionItem.qml
@@ -49,6 +49,8 @@ Item {
source: "image://icons/session/Welcome_ForegroundSecondaryColor"
x: 11
anchors.verticalCenter: parent.verticalCenter
+ height: 16
+ width: 16
}
NativeText {
@@ -196,6 +198,8 @@ Item {
visible: (collapseArea.containsMouse || delegate.expanded || titleArea.containsMouse)
source: "image://icons/expandarrow/Welcome_ForegroundSecondaryColor"
rotation: delegate.expanded ? 180 : 0
+ height: 16
+ width: 16
}
}