mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Merge pull request #1910 from Ultimaker/fix_dialog_sizes
Fix dialog sizes. Tested on different OSes and screens, all looked good.
This commit is contained in:
parent
d44caa281b
commit
8ab5c7e4cd
7 changed files with 30 additions and 31 deletions
|
@ -17,8 +17,8 @@ UM.Dialog
|
|||
id: base
|
||||
|
||||
title: catalog.i18nc("@title:window", "Open file(s)")
|
||||
width: 420 * Screen.devicePixelRatio
|
||||
height: 170 * Screen.devicePixelRatio
|
||||
width: 420
|
||||
height: 170
|
||||
|
||||
maximumHeight: height
|
||||
maximumWidth: width
|
||||
|
@ -52,12 +52,12 @@ UM.Dialog
|
|||
Column
|
||||
{
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 20 * Screen.devicePixelRatio
|
||||
anchors.rightMargin: 20 * Screen.devicePixelRatio
|
||||
anchors.bottomMargin: 20 * Screen.devicePixelRatio
|
||||
anchors.leftMargin: 20
|
||||
anchors.rightMargin: 20
|
||||
anchors.bottomMargin: 20
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
spacing: 10 * Screen.devicePixelRatio
|
||||
spacing: 10
|
||||
|
||||
Text
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue