From e5a7ea43215534fb60313f4b0bb136b7250121e7 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sun, 29 May 2022 01:04:07 +0300 Subject: Fix tab panels looking awful and broken --- src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java index 9c16c73..95c43f4 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java @@ -272,6 +272,11 @@ public class WTabPanel extends WPanel { this.data = data; } + @Override + public boolean canResize() { + return true; + } + @Override public boolean canFocus() { return true; -- cgit