mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix Hi DPI issues with Workspace and Profile Changes dialogs
This commit is contained in:
parent
c5bf107be6
commit
d536bbd6b9
3 changed files with 14 additions and 14 deletions
|
@ -12,13 +12,13 @@ UM.Dialog
|
||||||
{
|
{
|
||||||
title: catalog.i18nc("@title:window", "Open Project")
|
title: catalog.i18nc("@title:window", "Open Project")
|
||||||
|
|
||||||
width: 550
|
width: 550 * Screen.devicePixelRatio
|
||||||
minimumWidth: 550
|
minimumWidth: 550 * Screen.devicePixelRatio
|
||||||
maximumWidth: 550
|
maximumWidth: minimumWidth
|
||||||
|
|
||||||
height: 400
|
height: 400 * Screen.devicePixelRatio
|
||||||
minimumHeight: 400
|
minimumHeight: 400 * Screen.devicePixelRatio
|
||||||
maximumHeight: 400
|
maximumHeight: minimumHeight
|
||||||
property int comboboxHeight: 15
|
property int comboboxHeight: 15
|
||||||
property int spacerHeight: 10
|
property int spacerHeight: 10
|
||||||
onClosing: manager.notifyClosed()
|
onClosing: manager.notifyClosed()
|
||||||
|
|
|
@ -13,8 +13,8 @@ UM.Dialog
|
||||||
id: base
|
id: base
|
||||||
title: catalog.i18nc("@title:window", "Discard or Keep changes")
|
title: catalog.i18nc("@title:window", "Discard or Keep changes")
|
||||||
|
|
||||||
width: 800
|
width: 800 * Screen.devicePixelRatio
|
||||||
height: 400
|
height: 400 * Screen.devicePixelRatio
|
||||||
property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
|
property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
|
||||||
onVisibilityChanged:
|
onVisibilityChanged:
|
||||||
{
|
{
|
||||||
|
@ -68,7 +68,7 @@ UM.Dialog
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: base.height - 150
|
height: base.height - 150 * Screen.devicePixelRatio
|
||||||
id: tableView
|
id: tableView
|
||||||
Component
|
Component
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,13 +13,13 @@ UM.Dialog
|
||||||
{
|
{
|
||||||
title: catalog.i18nc("@title:window", "Save Project")
|
title: catalog.i18nc("@title:window", "Save Project")
|
||||||
|
|
||||||
width: 550
|
width: 550 * Screen.devicePixelRatio
|
||||||
minimumWidth: 550
|
minimumWidth: 550 * Screen.devicePixelRatio
|
||||||
|
|
||||||
height: 350
|
height: 350 * Screen.devicePixelRatio
|
||||||
minimumHeight: 350
|
minimumHeight: 350 * Screen.devicePixelRatio
|
||||||
|
|
||||||
property int spacerHeight: 10
|
property int spacerHeight: 10 * Screen.devicePixelRatio
|
||||||
|
|
||||||
property bool dontShowAgain: true
|
property bool dontShowAgain: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue