diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-20 22:46:35 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-20 22:48:42 +0200 |
commit | 3b4b34b3695e655f591347754a724804bea96d71 (patch) | |
tree | 35fe4211afaf05e7510ee66f865148f9c0156995 | |
parent | 6542f5f15af31e493c9b46afb3a5b4b330cc9cee (diff) | |
download | PrismLauncher-3b4b34b3695e655f591347754a724804bea96d71.tar.gz PrismLauncher-3b4b34b3695e655f591347754a724804bea96d71.tar.bz2 PrismLauncher-3b4b34b3695e655f591347754a724804bea96d71.zip |
fix(ui): make CF and MR modpack dialogs more consistent
-rw-r--r-- | launcher/ui/pages/modplatform/flame/FlamePage.ui | 100 | ||||
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui | 7 |
2 files changed, 59 insertions, 48 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlamePage.ui b/launcher/ui/pages/modplatform/flame/FlamePage.ui index 4c7a6495..9fab9773 100644 --- a/launcher/ui/pages/modplatform/flame/FlamePage.ui +++ b/launcher/ui/pages/modplatform/flame/FlamePage.ui @@ -6,41 +6,50 @@ <rect> <x>0</x> <y>0</y> - <width>2445</width> - <height>685</height> + <width>800</width> + <height>600</height> </rect> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="4" column="0" colspan="2"> - <layout class="QGridLayout" name="gridLayout_4" columnstretch="0,0,0" rowminimumheight="0" columnminimumwidth="0,0,0"> - <item row="0" column="2"> - <widget class="QComboBox" name="versionSelectionBox"/> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="font"> + <font> + <italic>true</italic> + </font> + </property> + <property name="text"> + <string>Note: CurseForge's API is very unreliable. CurseForge and some mod authors have disallowed downloading mods in third-party applications like PolyMC. As such, you may need to manually download some mods to be able to install a modpack.</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <layout class="QHBoxLayout"> + <item> + <widget class="QLineEdit" name="searchEdit"> + <property name="placeholderText"> + <string>Search and filter...</string> + </property> + </widget> </item> - <item row="0" column="1"> - <widget class="QLabel" name="label"> + <item> + <widget class="QPushButton" name="searchButton"> <property name="text"> - <string>Version selected:</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <string>Search</string> </property> </widget> </item> - <item row="0" column="0"> - <widget class="QComboBox" name="sortByBox"/> - </item> </layout> </item> - <item row="1" column="0"> - <widget class="QLineEdit" name="searchEdit"> - <property name="placeholderText"> - <string>Search and filter...</string> - </property> - </widget> - </item> - <item row="3" column="0" colspan="2"> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="1" column="0"> + <item row="2" column="0"> + <layout class="QHBoxLayout"> + <item> <widget class="QListView" name="packView"> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> @@ -56,7 +65,7 @@ </property> </widget> </item> - <item row="1" column="1"> + <item> <widget class="QTextBrowser" name="packDescription"> <property name="openExternalLinks"> <bool>true</bool> @@ -68,30 +77,29 @@ </item> </layout> </item> - <item row="1" column="1"> - <widget class="QPushButton" name="searchButton"> - <property name="text"> - <string>Search</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_2"> - <property name="font"> - <font> - <italic>true</italic> - </font> - </property> - <property name="text"> - <string>WARNING: CurseForge's API is very unreliable and low quality. Also, some mod authors have disabled the ability for third party apps (like PolyMC) to download their mods. As such, you may need to manually download some mods to be able to use the modpack.</string> - </property> - </widget> + <item row="3" column="0"> + <layout class="QHBoxLayout"> + <item> + <widget class="QComboBox" name="sortByBox"/> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Version selected:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="versionSelectionBox"/> + </item> + </layout> </item> </layout> </widget> <tabstops> - <tabstop>searchEdit</tabstop> - <tabstop>searchButton</tabstop> <tabstop>packView</tabstop> <tabstop>packDescription</tabstop> <tabstop>sortByBox</tabstop> diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui index 4fb59cdf..ae9556ed 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>837</width> - <height>685</height> + <width>800</width> + <height>600</height> </rect> </property> <layout class="QVBoxLayout"> @@ -24,6 +24,9 @@ <property name="alignment"> <set>Qt::AlignCenter</set> </property> + <property name="wordWrap"> + <bool>true</bool> + </property> </widget> </item> <item> |