From dec91e06b77a1397779710ca47b61613617967c1 Mon Sep 17 00:00:00 2001 From: xander Date: Mon, 5 Sep 2022 15:40:37 +0100 Subject: wrap labels and group names --- src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testmod/java/dev/isxander/yacl') 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()) -- cgit