mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 12:43:16 +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
51c4e277ae
commit
6e1265a822
@ -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…
x
Reference in New Issue
Block a user