From 6cb604eb82eae3e06c87e3d06b732f3faefeeb44 Mon Sep 17 00:00:00 2001 From: Ghzdude <44148655+ghzdude@users.noreply.github.com> Date: Mon, 20 Jan 2025 13:22:40 -0700 Subject: [PATCH] defer panel setting to method --- src/main/java/gregtech/api/cover/CoverWithUI.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/gregtech/api/cover/CoverWithUI.java b/src/main/java/gregtech/api/cover/CoverWithUI.java index 5cb2d8960c8..6ae505361ee 100644 --- a/src/main/java/gregtech/api/cover/CoverWithUI.java +++ b/src/main/java/gregtech/api/cover/CoverWithUI.java @@ -86,9 +86,7 @@ default ModularPanel confgurePanel(ModularPanel panel, boolean isSmallGui) { var w = createUI(guiData, guiSyncManager); return confgurePanel(GTGuis.defaultPopupPanel(getPickItem().getTranslationKey()), true) .childIf(w != null, w) - .child(createTitleRow(getPickItem()).pos(5, 5)) - .paddingBottom(24) - .coverChildrenHeight(); + .child(createTitleRow(getPickItem()).pos(5, 5)); } default @Nullable IWidget createUI(SidedPosGuiData data, PanelSyncManager manager) {