aboutsummaryrefslogtreecommitdiff
path: root/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
diff options
context:
space:
mode:
authorCrendgrim <Crendgrim@users.noreply.github.com>2023-07-21 23:57:05 +0200
committerGitHub <noreply@github.com>2023-07-21 22:57:05 +0100
commit8a4d6df67917fee4b600cfad1afb7d39a75d75f1 (patch)
treec89cad79d18a5a86e5709e42b8d6129b43f54d7f /test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
parenta25e2d754ae856c0c9d2c8ebb9ea16a7a458cf04 (diff)
downloadYetAnotherConfigLib-8a4d6df67917fee4b600cfad1afb7d39a75d75f1.tar.gz
YetAnotherConfigLib-8a4d6df67917fee4b600cfad1afb7d39a75d75f1.tar.bz2
YetAnotherConfigLib-8a4d6df67917fee4b600cfad1afb7d39a75d75f1.zip
Small improvements to ListOption (#89)
Diffstat (limited to 'test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java')
-rw-r--r--test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
index b1719c9..d0b725e 100644
--- a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
+++ b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
@@ -261,6 +261,9 @@ public class GuiTest {
)
.controller(StringControllerBuilder::create)
.initial("")
+ .minimumNumberOfEntries(3)
+ .maximumNumberOfEntries(5)
+ .insertEntriesAtEnd(true)
.build())
.group(ListOption.<Integer>createBuilder()
.name(Component.literal("Slider List"))