From 2a05170b93d9522cc9d54d954a783dd6a7f01c1c Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 9 Sep 2023 13:59:24 +0300 Subject: Initial port to 1.20.2 --- src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testMod/java') diff --git a/src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java b/src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java index 2caea5c..f9012d7 100644 --- a/src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java +++ b/src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java @@ -28,6 +28,7 @@ public final class DarkModeTestGui extends LightweightGuiDescription { root.add(new WButton(Text.literal("Button B")), 0, 1, 3, 1); root.add(new WText(Text.literal("Text")), 0, 2, 3, 1); root.add(new WLabeledSlider(1, 100, Text.literal("Slider A")), 3, 0, 3, 1); + root.add(new WLabeledSlider(1, 100, Axis.VERTICAL, Text.literal("Slider B")), 6, 0, 1, 3); root.add(new WSlider(1, 100, Axis.HORIZONTAL), 3, 1, 3, 1); root.add(new WLabel(Text.literal("Label")), 3, 2, 3, 1); root.add(new WScrollBar(Axis.HORIZONTAL), 0, 3, 3, 1); -- cgit