fix: swap spin box and state icon

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-11-11 15:24:14 +01:00
parent cabd887866
commit b57fee1a44
No known key found for this signature in database
GPG Key ID: C10411294912A422
2 changed files with 87 additions and 87 deletions

View File

@ -44,26 +44,14 @@
<property name="title"> <property name="title">
<string>Memory</string> <string>Memory</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0"> <layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0,0">
<item row="1" column="2"> <item row="1" column="0">
<widget class="QSpinBox" name="maxMemSpinBox"> <widget class="QLabel" name="labelMaxMem">
<property name="toolTip"> <property name="text">
<string>The maximum amount of memory Minecraft is allowed to use.</string> <string>Ma&amp;ximum memory allocation:</string>
</property> </property>
<property name="suffix"> <property name="buddy">
<string notr="true"> MiB</string> <cstring>maxMemSpinBox</cstring>
</property>
<property name="minimum">
<number>128</number>
</property>
<property name="maximum">
<number>1048576</number>
</property>
<property name="singleStep">
<number>128</number>
</property>
<property name="value">
<number>1024</number>
</property> </property>
</widget> </widget>
</item> </item>
@ -77,6 +65,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0">
<widget class="QLabel" name="labelMinMem">
<property name="text">
<string>&amp;Minimum memory allocation:</string>
</property>
<property name="buddy">
<cstring>minMemSpinBox</cstring>
</property>
</widget>
</item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QSpinBox" name="minMemSpinBox"> <widget class="QSpinBox" name="minMemSpinBox">
<property name="toolTip"> <property name="toolTip">
@ -99,23 +97,25 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="2">
<widget class="QLabel" name="labelMaxMem"> <widget class="QSpinBox" name="maxMemSpinBox">
<property name="text"> <property name="toolTip">
<string>Ma&amp;ximum memory allocation:</string> <string>The maximum amount of memory Minecraft is allowed to use.</string>
</property> </property>
<property name="buddy"> <property name="suffix">
<cstring>maxMemSpinBox</cstring> <string notr="true"> MiB</string>
</property> </property>
</widget> <property name="minimum">
</item> <number>128</number>
<item row="0" column="0">
<widget class="QLabel" name="labelMinMem">
<property name="text">
<string>&amp;Minimum memory allocation:</string>
</property> </property>
<property name="buddy"> <property name="maximum">
<cstring>minMemSpinBox</cstring> <number>1048576</number>
</property>
<property name="singleStep">
<number>128</number>
</property>
<property name="value">
<number>1024</number>
</property> </property>
</widget> </widget>
</item> </item>
@ -141,7 +141,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="3">
<widget class="QLabel" name="labelMaxMemIcon"> <widget class="QLabel" name="labelMaxMemIcon">
<property name="text"> <property name="text">
<string/> <string/>

View File

@ -112,7 +112,7 @@
<property name="checked"> <property name="checked">
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0"> <layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0,0,0">
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="labelPermGen"> <widget class="QLabel" name="labelPermGen">
<property name="text"> <property name="text">
@ -120,6 +120,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0">
<widget class="QLabel" name="labelMinMem">
<property name="text">
<string>Minimum memory allocation:</string>
</property>
</widget>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="labelMaxMem"> <widget class="QLabel" name="labelMaxMem">
<property name="text"> <property name="text">
@ -134,57 +141,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="2">
<widget class="QSpinBox" name="permGenSpinBox">
<property name="toolTip">
<string>The amount of memory available to store loaded Java classes.</string>
</property>
<property name="suffix">
<string notr="true"> MiB</string>
</property>
<property name="minimum">
<number>64</number>
</property>
<property name="maximum">
<number>999999999</number>
</property>
<property name="singleStep">
<number>8</number>
</property>
<property name="value">
<number>64</number>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="maxMemSpinBox">
<property name="toolTip">
<string>The maximum amount of memory Minecraft is allowed to use.</string>
</property>
<property name="suffix">
<string notr="true"> MiB</string>
</property>
<property name="minimum">
<number>128</number>
</property>
<property name="maximum">
<number>1048576</number>
</property>
<property name="singleStep">
<number>128</number>
</property>
<property name="value">
<number>1024</number>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labelMinMem">
<property name="text">
<string>Minimum memory allocation:</string>
</property>
</widget>
</item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QSpinBox" name="minMemSpinBox"> <widget class="QSpinBox" name="minMemSpinBox">
<property name="toolTip"> <property name="toolTip">
@ -207,7 +163,51 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="2">
<widget class="QSpinBox" name="maxMemSpinBox">
<property name="toolTip">
<string>The maximum amount of memory Minecraft is allowed to use.</string>
</property>
<property name="suffix">
<string notr="true"> MiB</string>
</property>
<property name="minimum">
<number>128</number>
</property>
<property name="maximum">
<number>1048576</number>
</property>
<property name="singleStep">
<number>128</number>
</property>
<property name="value">
<number>1024</number>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QSpinBox" name="permGenSpinBox">
<property name="toolTip">
<string>The amount of memory available to store loaded Java classes.</string>
</property>
<property name="suffix">
<string notr="true"> MiB</string>
</property>
<property name="minimum">
<number>64</number>
</property>
<property name="maximum">
<number>999999999</number>
</property>
<property name="singleStep">
<number>8</number>
</property>
<property name="value">
<number>64</number>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="labelMaxMemIcon"> <widget class="QLabel" name="labelMaxMemIcon">
<property name="text"> <property name="text">
<string notr="true"/> <string notr="true"/>