1
0
forked from Clones/Controlify

✏️ Credit Andrew Grant in the carousel screen

This commit is contained in:
isXander
2023-08-04 23:37:38 +01:00
parent 45e1e1a139
commit d74b7d3724
5 changed files with 61 additions and 2 deletions

View File

@ -67,7 +67,7 @@ public class SubmitUnknownControllerScreen extends Screen {
int allHeight = font.lineHeight + titleBottomPadding + content.getHeight() + checkboxPadding + checkboxHeight + checkboxPadding + buttonHeight + nameFieldPaddingTop + nameFieldHeight + errorPadding + font.lineHeight;
int y = this.height / 2 - allHeight / 2;
this.addRenderableWidget(createStringWidget(this.getTitle(), font, 25, y));
this.addRenderableWidget(ClientUtils.createStringWidget(this.getTitle(), font, 25, y));
y += font.lineHeight + titleBottomPadding;
content.setY(y);