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

@ -20,8 +20,8 @@ Window
modality: Qt.ApplicationModal
flags: Qt.Dialog | Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
width: Math.floor(720 * screenScaleFactor)
height: Math.floor(640 * screenScaleFactor)
width: UM.Theme.getSize("large_popup_dialog").width
height: UM.Theme.getSize("large_popup_dialog").height
minimumWidth: width
maximumWidth: minimumWidth
minimumHeight: height