From f2d1188fdd457517e13fd8b2de08784f4eb4aaef Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Wed, 28 Jan 2026 18:35:22 -0600 Subject: [PATCH] Fix swatches not resizing properly when maximized --- qt/swatches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/swatches.cpp b/qt/swatches.cpp index 63ce08ef9..8dcf9f3a5 100644 --- a/qt/swatches.cpp +++ b/qt/swatches.cpp @@ -154,7 +154,7 @@ void Swatches::drawSwatches(const QSize &newSize) /*-----------------------------------------------------*\ | Paint the swatch cluster | \*-----------------------------------------------------*/ - int width = qMin(width_inc_margin, (newSize.width() / minColumns) - (margin * 2)); + int width = (newSize.width() / minColumns) - (margin * 2); int height = minSize; width_inc_margin = width + (margin * 2); height_inc_margin = height + (margin * 2);