mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 15:03:14 +08:00
Add width, height in addition to minimumWidth, minumumHeight to fix retina issue on OSX
Without these additions, windows (preferences, wizards, about) open larger than fullscreen, making some controls inaccessible Fixes CURA-504
This commit is contained in:
parent
db173f1347
commit
9fe3eb4f01
@ -11,8 +11,10 @@ import UM 1.1 as UM
|
|||||||
UM.Dialog
|
UM.Dialog
|
||||||
{
|
{
|
||||||
id: base
|
id: base
|
||||||
minimumWidth: 400
|
minimumWidth: 400 * Screen.devicePixelRatio
|
||||||
minimumHeight: 300
|
minimumHeight: 300 * Screen.devicePixelRatio
|
||||||
|
width: minimumWidth
|
||||||
|
height: minimumHeight
|
||||||
title: catalog.i18nc("@label", "Changelog")
|
title: catalog.i18nc("@label", "Changelog")
|
||||||
|
|
||||||
ScrollView
|
ScrollView
|
||||||
|
@ -13,8 +13,11 @@ UM.Dialog
|
|||||||
|
|
||||||
//: About dialog title
|
//: About dialog title
|
||||||
title: catalog.i18nc("@title:window","About Cura")
|
title: catalog.i18nc("@title:window","About Cura")
|
||||||
minimumWidth: 400
|
|
||||||
minimumHeight: 300;
|
minimumWidth: 400 * Screen.devicePixelRatio
|
||||||
|
minimumHeight: 300 * Screen.devicePixelRatio
|
||||||
|
width: minimumWidth
|
||||||
|
height: minimumHeight
|
||||||
//UM.I18nCatalog { id: catalog; }
|
//UM.I18nCatalog { id: catalog; }
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user