Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit e3784f0

Browse files
committed
Improved gui scaling
Signed-off-by: DeathsGun <deathsgun@protonmail.com>
1 parent 4847480 commit e3784f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/kotlin/xyz/deathsgun/modmanager/gui/ModsOverviewScreen.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ModsOverviewScreen(private val previousScreen: Screen) : Screen(Translatab
8282
categoryList = addSelectableChild(
8383
CategoryListWidget(
8484
client!!,
85-
100,
85+
120,
8686
height,
8787
35,
8888
height - 30,
@@ -93,22 +93,22 @@ class ModsOverviewScreen(private val previousScreen: Screen) : Screen(Translatab
9393
categoryList.setLeftPos(10)
9494

9595
modList = addSelectableChild(ModListWidget(client!!, width - 10 - 115, height, 35, height - 30, 36, this))
96-
modList.setLeftPos(115)
96+
modList.setLeftPos(135)
9797

9898

99-
val buttonWidth = (width - 115 - 10 - 20) / 2
99+
val buttonWidth = (width - 135 - 10 - 20) / 2
100100

101101
previousPage = addDrawableChild(
102102
ButtonWidget(
103-
115,
103+
135,
104104
height - 25,
105105
buttonWidth,
106106
20,
107107
TranslatableText("modmanager.page.previous")
108108
) { showPreviousPage() })
109109
nextPage = addDrawableChild(
110110
ButtonWidget(
111-
115 + buttonWidth + 20,
111+
135 + buttonWidth + 20,
112112
height - 25,
113113
buttonWidth,
114114
20,

0 commit comments

Comments
 (0)