mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Apply screenScaleFactor to image size
Contributes to CURA-8689
This commit is contained in:
parent
1ebc0b487e
commit
1dfac6bb71
2 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue