Gui: Allow narrower preferences dialog

This commit introduces optional horizontal scrollbar, looses up the minimum size applied to dialog and narrows a dialog a little bit by default.
This commit is contained in:
Kacper Donat
2023-12-28 12:58:51 +01:00
committed by Chris Hennes
parent 48dd1614d6
commit 537d153173

View File

@@ -6,13 +6,13 @@
<rect>
<x>0</x>
<y>0</y>
<width>1000</width>
<width>900</width>
<height>900</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1000</width>
<width>600</width>
<height>500</height>
</size>
</property>
@@ -226,7 +226,7 @@ QFrame::item { padding: 6px 8px };</string>
<enum>QFrame::NoFrame</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
@@ -239,8 +239,8 @@ QFrame::item { padding: 6px 8px };</string>
<rect>
<x>0</x>
<y>0</y>
<width>726</width>
<height>669</height>
<width>626</width>
<height>772</height>
</rect>
</property>
<property name="sizePolicy">