Qt: Fix overlapping widgets in cheat settings (#3607)

This commit is contained in:
Davide Pesavento
2025-11-03 22:44:38 -05:00
committed by GitHub
parent a1889a20bb
commit 0c7e8f3d87

View File

@@ -24,7 +24,7 @@
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0,0,0,0,0,0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="enableCheats">
<property name="text">
@@ -32,11 +32,24 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLineEdit" name="search">
<property name="minimumSize">
<size>
<width>200</width>
<width>100</width>
<height>0</height>
</size>
</property>
@@ -63,12 +76,6 @@
</item>
<item>
<widget class="QPushButton" name="add">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Add Cheat</string>
</property>
@@ -79,12 +86,6 @@
</item>
<item>
<widget class="QPushButton" name="remove">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Remove Cheat</string>
</property>