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.
This commit is contained in:
roxgib 2022-04-09 13:55:03 +10:00 committed by GitHub
parent 8100e81789
commit 77d14ddf1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumContentsLength">
<number>50</number>
</property>
<property name="maxVisibleItems">
<number>30</number>
</property>