diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-09-09 13:59:24 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-09-09 13:59:24 +0300 |
commit | 2a05170b93d9522cc9d54d954a783dd6a7f01c1c (patch) | |
tree | 397c08ae1fcb273502a16c4b21cb6dc7bf454cd6 /src/testMod/java | |
parent | 5c66af7bd411c7caa3f2e4cc4f754066fe37eae3 (diff) | |
download | LibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.tar.gz LibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.tar.bz2 LibGui-2a05170b93d9522cc9d54d954a783dd6a7f01c1c.zip |
Initial port to 1.20.2
Diffstat (limited to 'src/testMod/java')
-rw-r--r-- | src/testMod/java/io/github/cottonmc/test/client/DarkModeTestGui.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |