From 53b31e816adfa5f4489cfa84f4f9ac4a3bd045b8 Mon Sep 17 00:00:00 2001 From: casper Date: Tue, 1 Mar 2022 16:16:53 +0100 Subject: [PATCH] Set size of color swatch from theme CURA-8983 --- resources/qml/ColorDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/ColorDialog.qml b/resources/qml/ColorDialog.qml index 646d23c209..24230d2011 100644 --- a/resources/qml/ColorDialog.qml +++ b/resources/qml/ColorDialog.qml @@ -75,8 +75,8 @@ UM.Dialog delegate: Rectangle { color: swatchColor - width: 24 - height: 24 + implicitWidth: UM.Theme.getSize("medium_button_icon").width + implicitHeight: UM.Theme.getSize("medium_button_icon").height radius: width / 2 UM.RecolorImage