aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2022-05-29 01:04:07 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2022-05-29 01:10:27 +0300
commit36da5648bfade5de1b989e2106e2dfaf1dcc0b53 (patch)
tree76341225a27bb6872d34979e6855b14a595c4ca8 /src/main/java
parent9ddb0b30ad0c404a7e676c88900da6aa81760b8f (diff)
downloadLibGui-36da5648bfade5de1b989e2106e2dfaf1dcc0b53.tar.gz
LibGui-36da5648bfade5de1b989e2106e2dfaf1dcc0b53.tar.bz2
LibGui-36da5648bfade5de1b989e2106e2dfaf1dcc0b53.zip
Fix tab panels looking awful and broken
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java5
1 files changed, 5 insertions, 0 deletions
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 5f24f89..ab1703c 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 {
}
@Override
+ public boolean canResize() {
+ return true;
+ }
+
+ @Override
public boolean canFocus() {
return true;
}