Make button bigger

This commit is contained in:
DBotThePony 2021-08-24 12:04:19 +07:00
parent 5d4842701e
commit 43790bbedc
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -42,7 +42,7 @@ public class MatterBottlerScreen extends MatteryScreen<MatterBottlerMenu> implem
protected FramePanel makeMainFrame() {
var frame = super.makeMainFrame();
var mode = new ButtonPanel(this, frame, 0, 0, 80, 20, new TranslatableComponent("otm.matter_bottler.switch_mode"));
var mode = new ButtonPanel(this, frame, 0, 0, 100, 20, new TranslatableComponent("otm.matter_bottler.switch_mode"));
mode.bindOnPress(menu::switchBottlerMode);
mode.setDock(Dock.TOP);
mode.asGrid(); // for auto alignment on center