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 266370de07
commit b5e51cc2b0

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>