disabled and renamed upload button

This commit is contained in:
Jonas_Jones 2023-01-03 02:29:08 +01:00
parent 4e5c8aa964
commit c04af84552
8 changed files with 3 additions and 2 deletions

Binary file not shown.

View file

@ -57,8 +57,9 @@ public class BoardConfigwidget extends Screen {
.dimensions(this.width / 2 - 154, this.height - 52, 100, 20).build());
this.addDrawableChild(ButtonWidget.builder(Text.of("Done"), (buttonWidget) -> this.client.setScreen(this.parent))
.dimensions(this.width / 2 + 4 + 76, this.height - 28, 75, 20).build());
this.addDrawableChild(ButtonWidget.builder(Text.of("Save"), (buttonWidget) -> this.client.setScreen(this.parent))
.dimensions(this.width / 2, this.height - 28, 75 , 20).build());
ButtonWidget upload = this.addDrawableChild(ButtonWidget.builder(Text.of("Upload"), (buttonWidget) -> this.client.setScreen(this.parent))
.dimensions(this.width / 2, this.height - 28, 75, 20).build());
upload.active = false;
this.addDrawableChild(ButtonWidget.builder(Text.of("Settings"), (buttonWidget) -> this.client.setScreen(new ModSettings(this)))
.dimensions(this.width / 2 - 75, this.height - 28, 70, 20).build());