summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/SettingsDialog.ui
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2013-12-30 15:09:53 +0100
committerJan Dalheimer <jan@dalheimer.de>2013-12-30 15:15:07 +0100
commit76892c284bcd0f55006edc9a1897a805bd99bae2 (patch)
treedc204cd264100561a3216aa39acada119b6dbf43 /gui/dialogs/SettingsDialog.ui
parent654f444f55de58f5cf0477e3b08b8f18e8d60831 (diff)
downloadMultiMC-76892c284bcd0f55006edc9a1897a805bd99bae2.tar
MultiMC-76892c284bcd0f55006edc9a1897a805bd99bae2.tar.gz
MultiMC-76892c284bcd0f55006edc9a1897a805bd99bae2.tar.lz
MultiMC-76892c284bcd0f55006edc9a1897a805bd99bae2.tar.xz
MultiMC-76892c284bcd0f55006edc9a1897a805bd99bae2.zip
Make the java browse button look like the other browse buttons
Diffstat (limited to 'gui/dialogs/SettingsDialog.ui')
-rw-r--r--gui/dialogs/SettingsDialog.ui66
1 files changed, 41 insertions, 25 deletions
diff --git a/gui/dialogs/SettingsDialog.ui b/gui/dialogs/SettingsDialog.ui
index 4d06d1f8..7104ea53 100644
--- a/gui/dialogs/SettingsDialog.ui
+++ b/gui/dialogs/SettingsDialog.ui
@@ -155,6 +155,12 @@
<property name="enabled">
<bool>true</bool>
</property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
<width>28</width>
@@ -459,25 +465,6 @@
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="labelJVMArgs">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>JVM arguments:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="5">
- <widget class="QLineEdit" name="javaPathTextBox"/>
- </item>
- <item row="3" column="1" colspan="5">
- <widget class="QLineEdit" name="jvmArgsTextBox"/>
- </item>
<item row="1" column="1">
<widget class="QPushButton" name="javaDetectBtn">
<property name="sizePolicy">
@@ -491,7 +478,7 @@
</property>
</widget>
</item>
- <item row="1" column="4" colspan="2">
+ <item row="1" column="2">
<widget class="QPushButton" name="javaTestBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -504,19 +491,48 @@
</property>
</widget>
</item>
- <item row="1" column="2" colspan="2">
- <widget class="QPushButton" name="javaBrowseBtn">
+ <item row="2" column="0">
+ <widget class="QLabel" name="labelJVMArgs">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Browse...</string>
+ <string>JVM arguments:</string>
</property>
</widget>
</item>
+ <item row="0" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QLineEdit" name="javaPathTextBox"/>
+ </item>
+ <item>
+ <widget class="QPushButton" name="javaBrowseBtn">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>28</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="1" colspan="2">
+ <widget class="QLineEdit" name="jvmArgsTextBox"/>
+ </item>
</layout>
</widget>
</item>
@@ -585,7 +601,7 @@
</layout>
</widget>
<tabstops>
- <tabstop>settingsTabs</tabstop>
+ <tabstop>settingsTab</tabstop>
<tabstop>buttonBox</tabstop>
<tabstop>sortLastLaunchedBtn</tabstop>
<tabstop>sortByNameBtn</tabstop>