From ceccca824442c145cbdfa225a3390219c7f32175 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Fri, 1 Sep 2017 10:18:25 +0200 Subject: [PATCH] Reduce the width of the license window CURA-4222 --- plugins/PluginBrowser/PluginBrowser.qml | 4 ++-- resources/themes/cura/theme.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/PluginBrowser/PluginBrowser.qml b/plugins/PluginBrowser/PluginBrowser.qml index 05a17b4265..494e09e26b 100644 --- a/plugins/PluginBrowser/PluginBrowser.qml +++ b/plugins/PluginBrowser/PluginBrowser.qml @@ -198,8 +198,8 @@ UM.Dialog id: licenseDialog title: catalog.i18nc("@title:window", "Plugin License Agreement") - minimumWidth: UM.Theme.getSize("modal_window_minimum").width - minimumHeight: UM.Theme.getSize("modal_window_minimum").height + minimumWidth: UM.Theme.getSize("license_window_minimum").width + minimumHeight: UM.Theme.getSize("license_window_minimum").height width: minimumWidth height: minimumHeight diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json index 7e5f6ae199..c1d174e1a3 100644 --- a/resources/themes/cura/theme.json +++ b/resources/themes/cura/theme.json @@ -328,6 +328,7 @@ "save_button_specs_icons": [1.4, 1.4], "modal_window_minimum": [60.0, 45], + "license_window_minimum": [45, 45], "wizard_progress": [10.0, 0.0], "message": [30.0, 5.0],