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:
fieldOfView 2016-04-07 18:06:38 +02:00
parent db173f1347
commit 9fe3eb4f01
2 changed files with 9 additions and 4 deletions

View file

@ -11,8 +11,10 @@ import UM 1.1 as UM
UM.Dialog
{
id: base
minimumWidth: 400
minimumHeight: 300
minimumWidth: 400 * Screen.devicePixelRatio
minimumHeight: 300 * Screen.devicePixelRatio
width: minimumWidth
height: minimumHeight
title: catalog.i18nc("@label", "Changelog")
ScrollView

View file

@ -13,8 +13,11 @@ UM.Dialog
//: About dialog title
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; }