(UI polish) Filtered decks: replace maximumSize with sizePolicy in "Limit to" QSpinBox (#4398)

* Fix (UI) / Increase width of "Limit to" QSpinBox (Filtered Decks)

Increased the width from 60 px to 75 px, so that there is always enough space, even in the case of large numbers (e.g., 99999).

* Update filtered_deck.ui (replace maximumSize with sizePolicy)
This commit is contained in:
jcznk 2025-10-27 13:35:07 +01:00 committed by GitHub
parent 510a3b3533
commit 23d0657a01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,11 +85,11 @@
</item>
<item row="2" column="2">
<widget class="QSpinBox" name="limit">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
@ -168,11 +168,11 @@
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="limit_2">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>