mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
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:
parent
8100e81789
commit
77d14ddf1e
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumContentsLength">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<property name="maxVisibleItems">
|
||||
<number>30</number>
|
||||
</property>
|
||||
|
|
Loading…
Reference in a new issue