mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06: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
|
||||
{
|
||||
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…
Add table
Add a link
Reference in a new issue