diff options
author | xander <xander@isxander.dev> | 2022-09-05 15:40:37 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-05 15:40:37 +0100 |
commit | dec91e06b77a1397779710ca47b61613617967c1 (patch) | |
tree | 8957bee3d26f3bbb7d4f8045c62c3a74f402a772 /src/main/java/dev/isxander/yacl/gui/controllers/string | |
parent | 2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e (diff) | |
download | YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.tar.gz YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.tar.bz2 YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.zip |
wrap labels and group names
Diffstat (limited to 'src/main/java/dev/isxander/yacl/gui/controllers/string')
-rw-r--r-- | src/main/java/dev/isxander/yacl/gui/controllers/string/StringControllerElement.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/string/StringControllerElement.java b/src/main/java/dev/isxander/yacl/gui/controllers/string/StringControllerElement.java index f8cf802..9b549bc 100644 --- a/src/main/java/dev/isxander/yacl/gui/controllers/string/StringControllerElement.java +++ b/src/main/java/dev/isxander/yacl/gui/controllers/string/StringControllerElement.java @@ -28,6 +28,7 @@ public class StringControllerElement extends ControllerWidget<IStringController< inputFieldFocused = false; selectionLength = 0; emptyText = Text.literal("Click to type...").formatted(Formatting.GRAY); + setDimension(dim); } @Override |