From 5f638ed6c630c322114aaac2a537cbe8c301b8b9 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 25 Feb 2022 13:22:55 +0100 Subject: [PATCH] Generalize the size of the licence window No need to have a seperate size of the licence window. Just use the default modal one --- plugins/Marketplace/resources/qml/LicenseDialog.qml | 4 ++-- resources/themes/cura-light/theme.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/Marketplace/resources/qml/LicenseDialog.qml b/plugins/Marketplace/resources/qml/LicenseDialog.qml index 1c99569793..09d7c5b59a 100644 --- a/plugins/Marketplace/resources/qml/LicenseDialog.qml +++ b/plugins/Marketplace/resources/qml/LicenseDialog.qml @@ -14,8 +14,8 @@ UM.Dialog { id: licenseDialog title: catalog.i18nc("@button", "Plugin license agreement") - minimumWidth: UM.Theme.getSize("license_window_minimum").width - minimumHeight: UM.Theme.getSize("license_window_minimum").height + minimumWidth: UM.Theme.getSize("modal_window_minimum").width + minimumHeight: UM.Theme.getSize("modal_window_minimum").height width: minimumWidth height: minimumHeight backgroundColor: UM.Theme.getColor("main_background") diff --git a/resources/themes/cura-light/theme.json b/resources/themes/cura-light/theme.json index 45c7b69c68..15763e0711 100644 --- a/resources/themes/cura-light/theme.json +++ b/resources/themes/cura-light/theme.json @@ -632,7 +632,6 @@ "welcome_wizard_window": [46, 50], "modal_window_minimum": [60.0, 45], - "license_window_minimum": [45, 45], "wizard_progress": [10.0, 0.0], "message": [30.0, 5.0],