forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -41,6 +41,8 @@ Rectangle {
|
|||||||
id: icon
|
id: icon
|
||||||
x: 11
|
x: 11
|
||||||
y: 6
|
y: 6
|
||||||
|
height: 16
|
||||||
|
width: 16
|
||||||
source: "image://icons/project/Welcome_ForegroundSecondaryColor"
|
source: "image://icons/project/Welcome_ForegroundSecondaryColor"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -49,6 +49,8 @@ Item {
|
|||||||
source: "image://icons/session/Welcome_ForegroundSecondaryColor"
|
source: "image://icons/session/Welcome_ForegroundSecondaryColor"
|
||||||
x: 11
|
x: 11
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
height: 16
|
||||||
|
width: 16
|
||||||
}
|
}
|
||||||
|
|
||||||
NativeText {
|
NativeText {
|
||||||
@@ -196,6 +198,8 @@ Item {
|
|||||||
visible: (collapseArea.containsMouse || delegate.expanded || titleArea.containsMouse)
|
visible: (collapseArea.containsMouse || delegate.expanded || titleArea.containsMouse)
|
||||||
source: "image://icons/expandarrow/Welcome_ForegroundSecondaryColor"
|
source: "image://icons/expandarrow/Welcome_ForegroundSecondaryColor"
|
||||||
rotation: delegate.expanded ? 180 : 0
|
rotation: delegate.expanded ? 180 : 0
|
||||||
|
height: 16
|
||||||
|
width: 16
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user