aboutsummaryrefslogtreecommitdiff
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:04:07 +0300
commite5a7ea43215534fb60313f4b0bb136b7250121e7 (patch)
treea1c7bcfb92ea9ef5cb2859f65782d8062426efd2
parent1f8c420e4c5d885ce8db27a91f447fece0b0c795 (diff)
downloadLibGui-e5a7ea43215534fb60313f4b0bb136b7250121e7.tar.gz
LibGui-e5a7ea43215534fb60313f4b0bb136b7250121e7.tar.bz2
LibGui-e5a7ea43215534fb60313f4b0bb136b7250121e7.zip
Fix tab panels looking awful and broken
-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 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
@@ -273,6 +273,11 @@ public class WTabPanel extends WPanel {
}
@Override
+ public boolean canResize() {
+ return true;
+ }
+
+ @Override
public boolean canFocus() {
return true;
}