mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +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
|
||||
{
|
||||
source: UM.Theme.getImage("add_printer")
|
||||
Layout.preferredWidth: 200
|
||||
Layout.preferredHeight: 200
|
||||
Layout.preferredWidth: 200 * screenScaleFactor
|
||||
Layout.preferredHeight: 200 * screenScaleFactor
|
||||
}
|
||||
|
||||
ColumnLayout
|
||||
@ -119,4 +119,4 @@ Control
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -67,8 +67,8 @@ Control
|
||||
{
|
||||
id: image
|
||||
source: imageSource
|
||||
width: 180
|
||||
height: 180
|
||||
width: 180 * screenScaleFactor
|
||||
height: 180 * screenScaleFactor
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user