diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-06-07 11:13:09 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-06-07 11:15:17 +0200 |
commit | 41590f2e502bc6873256cc2fc46faa6a237d7a28 (patch) | |
tree | 73759f9573f2bf6e5c194ca1253953647c443a8c | |
parent | 03dc8ddf81049bfb90a2cdc6b4cb59479c6b8921 (diff) | |
download | MultiMC-41590f2e502bc6873256cc2fc46faa6a237d7a28.tar MultiMC-41590f2e502bc6873256cc2fc46faa6a237d7a28.tar.gz MultiMC-41590f2e502bc6873256cc2fc46faa6a237d7a28.tar.lz MultiMC-41590f2e502bc6873256cc2fc46faa6a237d7a28.tar.xz MultiMC-41590f2e502bc6873256cc2fc46faa6a237d7a28.zip |
NOISSUE Switch twitch modpack page to use a QListView
This makes the lazy loading of the paginated search results
actually work.
-rw-r--r-- | application/pages/modplatform/twitch/TwitchPage.ui | 47 |
1 files changed, 16 insertions, 31 deletions
diff --git a/application/pages/modplatform/twitch/TwitchPage.ui b/application/pages/modplatform/twitch/TwitchPage.ui index 29bdc727..c78d8ce0 100644 --- a/application/pages/modplatform/twitch/TwitchPage.ui +++ b/application/pages/modplatform/twitch/TwitchPage.ui @@ -21,37 +21,6 @@ </property> </widget> </item> - <item row="1" column="0" colspan="2"> - <widget class="QTreeView" name="packView"> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="iconSize"> - <size> - <width>48</width> - <height>48</height> - </size> - </property> - <property name="rootIsDecorated"> - <bool>false</bool> - </property> - <property name="uniformRowHeights"> - <bool>true</bool> - </property> - <property name="itemsExpandable"> - <bool>false</bool> - </property> - <property name="allColumnsShowFocus"> - <bool>true</bool> - </property> - <attribute name="headerVisible"> - <bool>false</bool> - </attribute> - </widget> - </item> <item row="2" column="0" colspan="2"> <widget class="MCModInfoFrame" name="frame"> <property name="sizePolicy"> @@ -68,6 +37,22 @@ </property> </widget> </item> + <item row="1" column="0" colspan="2"> + <widget class="QListView" name="packView"> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="iconSize"> + <size> + <width>48</width> + <height>48</height> + </size> + </property> + </widget> + </item> </layout> </widget> <customwidgets> |