mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:19:05 +08:00
Apply screenScaleFactor to image size
Contributes to CURA-8689
This commit is contained in:
parent
1ebc0b487e
commit
1dfac6bb71
@ -42,8 +42,8 @@ Control
|
|||||||
Image
|
Image
|
||||||
{
|
{
|
||||||
source: UM.Theme.getImage("add_printer")
|
source: UM.Theme.getImage("add_printer")
|
||||||
Layout.preferredWidth: 200
|
Layout.preferredWidth: 200 * screenScaleFactor
|
||||||
Layout.preferredHeight: 200
|
Layout.preferredHeight: 200 * screenScaleFactor
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout
|
ColumnLayout
|
||||||
|
@ -67,8 +67,8 @@ Control
|
|||||||
{
|
{
|
||||||
id: image
|
id: image
|
||||||
source: imageSource
|
source: imageSource
|
||||||
width: 180
|
width: 180 * screenScaleFactor
|
||||||
height: 180
|
height: 180 * screenScaleFactor
|
||||||
sourceSize.width: width
|
sourceSize.width: width
|
||||||
sourceSize.height: height
|
sourceSize.height: height
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user