Smaller Layout Change
This commit is contained in:
parent
722343c103
commit
079b51e3f6
1 changed files with 6 additions and 4 deletions
|
@ -26,7 +26,7 @@ public class WorldSetupScreen extends BCLibScreen {
|
||||||
private final CreateWorldScreen createWorldScreen;
|
private final CreateWorldScreen createWorldScreen;
|
||||||
|
|
||||||
public WorldSetupScreen(@Nullable CreateWorldScreen parent, WorldCreationContext context) {
|
public WorldSetupScreen(@Nullable CreateWorldScreen parent, WorldCreationContext context) {
|
||||||
super(parent, Component.translatable("title.screen.bclib.worldgen.main"), 10, false);
|
super(parent, Component.translatable("title.screen.bclib.worldgen.main"), 10, true);
|
||||||
this.context = context;
|
this.context = context;
|
||||||
this.createWorldScreen = parent;
|
this.createWorldScreen = parent;
|
||||||
}
|
}
|
||||||
|
@ -67,8 +67,9 @@ public class WorldSetupScreen extends BCLibScreen {
|
||||||
|
|
||||||
var mainSettingsRow = colNether.addRow();
|
var mainSettingsRow = colNether.addRow();
|
||||||
mainSettingsRow.addSpacer(16);
|
mainSettingsRow.addSpacer(16);
|
||||||
|
colNether.addSpacerRow(2);
|
||||||
row = colNether.addRow();
|
row = colNether.addRow();
|
||||||
row.addSpacer(32);
|
row.addSpacer(20);
|
||||||
netherLegacy = row.addCheckbox(Component.translatable("title.screen.bclib.worldgen.legacy_square"),
|
netherLegacy = row.addCheckbox(Component.translatable("title.screen.bclib.worldgen.legacy_square"),
|
||||||
endVersion == BCLBiomeSource.BIOME_SOURCE_VERSION_SQUARE,
|
endVersion == BCLBiomeSource.BIOME_SOURCE_VERSION_SQUARE,
|
||||||
1.0,
|
1.0,
|
||||||
|
@ -91,8 +92,9 @@ public class WorldSetupScreen extends BCLibScreen {
|
||||||
|
|
||||||
mainSettingsRow = colEnd.addRow();
|
mainSettingsRow = colEnd.addRow();
|
||||||
mainSettingsRow.addSpacer(16);
|
mainSettingsRow.addSpacer(16);
|
||||||
|
colEnd.addSpacerRow(2);
|
||||||
row = colEnd.addRow();
|
row = colEnd.addRow();
|
||||||
row.addSpacer(32);
|
row.addSpacer(20);
|
||||||
|
|
||||||
endLegacy = row.addCheckbox(Component.translatable("title.screen.bclib.worldgen.legacy_square"),
|
endLegacy = row.addCheckbox(Component.translatable("title.screen.bclib.worldgen.legacy_square"),
|
||||||
endVersion == BCLBiomeSource.BIOME_SOURCE_VERSION_SQUARE,
|
endVersion == BCLBiomeSource.BIOME_SOURCE_VERSION_SQUARE,
|
||||||
|
@ -110,7 +112,7 @@ public class WorldSetupScreen extends BCLibScreen {
|
||||||
endLegacy.setEnabled(state);
|
endLegacy.setEnabled(state);
|
||||||
});
|
});
|
||||||
|
|
||||||
grid.addSpacerRow(15);
|
grid.addSpacerRow(36);
|
||||||
row = grid.addRow();
|
row = grid.addRow();
|
||||||
row.addFiller();
|
row.addFiller();
|
||||||
row.addButton(CommonComponents.GUI_DONE, BUTTON_HEIGHT, font, (button) -> {
|
row.addButton(CommonComponents.GUI_DONE, BUTTON_HEIGHT, font, (button) -> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue