diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WPanelWithInsets.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanelWithInsets.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanelWithInsets.java index 77b22be..48792d4 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanelWithInsets.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanelWithInsets.java @@ -49,4 +49,9 @@ public abstract class WPanelWithInsets extends WPanel { return this; } + + @Override + protected void expandToFit(WWidget w) { + expandToFit(w, insets); + } } |