From 37ae1cd69df0c556134d8a9176f1531b10018791 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 2 Mar 2022 18:05:50 +0100 Subject: [PATCH] Workaround on Windows. part of CURA-8938 --- resources/qml/ColorDialog.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/qml/ColorDialog.qml b/resources/qml/ColorDialog.qml index 4ae5b3c4bc..3818ea5cb4 100644 --- a/resources/qml/ColorDialog.qml +++ b/resources/qml/ColorDialog.qml @@ -24,11 +24,13 @@ UM.Dialog // In this case we would like to let the content of the dialog determine the size of the dialog // however with the current implementation of the dialog this is not possible, so instead we calculate // the size of the dialog ourselves. - minimumWidth: content.width + 2 * margin + minimumWidth: content.width + 4 * margin minimumHeight: content.height // content height + buttonRow.height // button row height - + 3 * margin // top and bottom margin and margin between buttons and content + + 5 * margin // top and bottom margin and margin between buttons and content + width: minimumWidth + height: minimumHeight property alias color: colorInput.text property var swatchColors: [