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/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | |
parent | 2dc3dbbcb05af0a1ec2f65b3ff7b4770a37c382e (diff) | |
download | YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.tar.gz YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.tar.bz2 YetAnotherConfigLib-dec91e06b77a1397779710ca47b61613617967c1.zip |
wrap labels and group names
Diffstat (limited to 'src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java')
-rw-r--r-- | src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java index f90beb8..23c9b7e 100644 --- a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java +++ b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java @@ -50,7 +50,7 @@ public class ModMenuIntegration implements ModMenuApi { .name(Text.of("Control Examples")) .tooltip(Text.of("Example Category Description")) .group(OptionGroup.createBuilder() - .name(Text.of("Boolean Controllers")) + .name(Text.of("Boolean Controllers but it has a super long name that needs to wrap")) .tooltip(Text.of("Test!")) .collapsed(true) .option(Option.createBuilder(boolean.class) @@ -160,7 +160,7 @@ public class ModMenuIntegration implements ModMenuApi { .controller(ActionController::new) .build()) .option(Option.createBuilder(Text.class) - .binding(Binding.immutable(Text.of("To center, or not to center?!"))) + .binding(Binding.immutable(Text.of("Labels that are very large get wrapped around onto a new line! I hope this is a good demonstration!"))) .controller(LabelController::new) .build()) .build()) |