Skip to content

Commit

Permalink
Set the minimum content length for the zoom combobox
Browse files Browse the repository at this point in the history
This seems to be the most effective way to get the combobox to be wide enough on Windows

Fixes: #495
  • Loading branch information
cameronwhite committed Nov 20, 2024
1 parent c8cb9e1 commit fdbbf5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/widgets/playback/playbackwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@
<number>-1</number>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::SizeAdjustPolicy::AdjustToContentsOnFirstShow</enum>
<enum>QComboBox::SizeAdjustPolicy::AdjustToMinimumContentsLengthWithIcon</enum>
</property>
<property name="minimumContentsLength">
<number>3</number>
</property>
</widget>
</item>
Expand Down

0 comments on commit fdbbf5d

Please sign in to comment.