Qt: remove pad settings size constraint

This might fix some scrolling issues (or add more)
This commit is contained in:
Megamouse 2021-10-18 23:21:54 +02:00
parent c6641748ce
commit 9c1f258be3
2 changed files with 4 additions and 7 deletions

View file

@ -210,9 +210,6 @@ pad_settings_dialog::pad_settings_dialog(std::shared_ptr<gui_settings> gui_setti
// Resize in order to fit into our scroll area
ResizeDialog();
// Restrict out inner layout size. This is necessary because redrawing things will slow down the dialog otherwise.
ui->mainLayout->setSizeConstraint(QLayout::SizeConstraint::SetFixedSize);
}
pad_settings_dialog::~pad_settings_dialog()

View file

@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>866</width>
<height>715</height>
<width>500</width>
<height>380</height>
</rect>
</property>
<property name="windowTitle">
@ -37,8 +37,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>848</width>
<height>668</height>
<width>858</width>
<height>715</height>
</rect>
</property>
<widget class="QWidget" name="tab">