Qt: remove pad settings size constraint
This might fix some scrolling issues (or add more)
This commit is contained in:
@@ -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
|
// Resize in order to fit into our scroll area
|
||||||
ResizeDialog();
|
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()
|
pad_settings_dialog::~pad_settings_dialog()
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>866</width>
|
<width>500</width>
|
||||||
<height>715</height>
|
<height>380</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -37,8 +37,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>848</width>
|
<width>858</width>
|
||||||
<height>668</height>
|
<height>715</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
|
|||||||
Reference in New Issue
Block a user