Skip to content

Commit

Permalink
Fix BlockGUI layout for generation panel
Browse files Browse the repository at this point in the history
  • Loading branch information
KlemenDEV committed Jan 2, 2024
1 parent cd26f68 commit b64b94a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/mcreator/ui/modgui/BlockGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ else if (slot instanceof OutputSlot)
pane7.setOpaque(false);
pane9.setOpaque(false);

JComponent genPanelWithChunk = PanelUtils.westAndCenterElement(new JLabel(UIRES.get("chunk")), genPanel, 25, 0);
JComponent genPanelWithChunk = PanelUtils.westAndCenterElement(new JLabel(UIRES.get("chunk")),
PanelUtils.pullElementUp(genPanel), 25, 0);
pane9.add("Center", PanelUtils.totalCenterInPanel(genPanelWithChunk));

texture.setValidator(new TileHolderValidator(texture));
Expand Down

0 comments on commit b64b94a

Please sign in to comment.