From 77d14ddf1e77496a8d8b5d762a66ad14ba6300fc Mon Sep 17 00:00:00 2001 From: roxgib <33942237+roxgib@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:55:03 +1000 Subject: [PATCH] Add minimumContentsLength property to templatesBox (#1781) Addresses #1777 by adding the `minimumContentsLength` property to the comboBox, which causes the size policy to not require expanding beyond that amount while still expanding if the user stretches the window manually. Note that users who were previously experiencing large window widths due to the previous behaviour might see the same size again due the geometry being restored. --- qt/aqt/forms/clayout_top.ui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt/aqt/forms/clayout_top.ui b/qt/aqt/forms/clayout_top.ui index 32a47a14f..60bab6226 100644 --- a/qt/aqt/forms/clayout_top.ui +++ b/qt/aqt/forms/clayout_top.ui @@ -49,6 +49,9 @@ 0 + + 50 + 30