mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Use screenScaleFactor to consistently adapt sizes to display pixel ratio
This commit is contained in:
parent
5e0052dcb6
commit
c5fd0e6c80
21 changed files with 96 additions and 94 deletions
|
@ -13,10 +13,12 @@ UM.Dialog
|
|||
{
|
||||
title: catalog.i18nc("@title:window", "Save Project")
|
||||
|
||||
width: 500
|
||||
height: 400
|
||||
minimumWidth: 500 * screenScaleFactor
|
||||
minimumHeight: 400 * screenScaleFactor
|
||||
width: minimumWidth
|
||||
height: minimumHeight
|
||||
|
||||
property int spacerHeight: 10
|
||||
property int spacerHeight: 10 * screenScaleFactor
|
||||
|
||||
property bool dontShowAgain: true
|
||||
|
||||
|
@ -63,7 +65,7 @@ UM.Dialog
|
|||
Column
|
||||
{
|
||||
anchors.fill: parent
|
||||
spacing: 2
|
||||
spacing: 2 * screenScaleFactor
|
||||
Label
|
||||
{
|
||||
id: titleLabel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue