]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/gui/ControlList.java
1.18.2-rc1
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / gui / ControlList.java
index f27e394c750d2732466008cdb91b10bc141aeb52..ac4f23c75b6640e6a284ce3f9e52e4ad86a193fb 100644 (file)
@@ -311,7 +311,12 @@ public class ControlList extends DrawableHelper implements IControlSet {
     }
 
     ControlList section(String title, CreateControl... createControls) {
-        this.add(new ControlListSection(title, createControls));
+        this.add(new ControlListSection(title, -1, createControls));
+        return this;
+    }
+
+    ControlList section(String title, int columnCount, CreateControl... createControls) {
+        this.add(new ControlListSection(title, columnCount, createControls));
         return this;
     }