mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06: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
51c4e277ae
commit
6e1265a822
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue