Remove hardcoded sizes from dialogs & popups

Contributes to #6670
This commit is contained in:
Jaime van Kessel 2019-11-19 12:59:39 +01:00
parent 650377c819
commit c6f42766c7
No known key found for this signature in database
GPG key ID: 3710727397403C91
6 changed files with 11 additions and 10 deletions

View file

@ -18,8 +18,8 @@ UM.Dialog
id: base
title: catalog.i18nc("@title:window", "Open project file")
width: 450 * screenScaleFactor
height: 150 * screenScaleFactor
width: UM.Theme.getSize("small_popup_dialog").width
height: UM.Theme.getSize("small_popup_dialog").height
maximumHeight: height
maximumWidth: width