Qt: Use grid layout in cheat code editor (#3543)

pull/3544/head
Davide Pesavento 2 months ago committed by GitHub
parent e1c0753d3d
commit 3cb275d878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>491</width> <width>480</width>
<height>318</height> <height>331</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -16,7 +16,7 @@
<property name="modal"> <property name="modal">
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QFormLayout" name="formLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="nameLabel"> <widget class="QLabel" name="nameLabel">
<property name="text"> <property name="text">
@ -74,16 +74,6 @@
<item row="4" column="1"> <item row="4" column="1">
<widget class="QComboBox" name="activation"/> <widget class="QComboBox" name="activation"/>
</item> </item>
<item row="6" column="0" colspan="2">
<widget class="QPlainTextEdit" name="instructions"/>
</item>
<item row="7" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save</set>
</property>
</widget>
</item>
<item row="5" column="0"> <item row="5" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
@ -135,6 +125,16 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="6" column="0" colspan="2">
<widget class="QPlainTextEdit" name="instructions"/>
</item>
<item row="7" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save</set>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>

Loading…
Cancel
Save