Rename function
This commit is contained in:
@@ -161,7 +161,7 @@
|
|||||||
(add-to-group! [group children])
|
(add-to-group! [group children])
|
||||||
group)
|
group)
|
||||||
|
|
||||||
(defn ^:private init-group
|
(defn ^:private create-group
|
||||||
[^WidgetGroup group children]
|
[^WidgetGroup group children]
|
||||||
(-> (doto group
|
(-> (doto group
|
||||||
(.setFillParent true))
|
(.setFillParent true))
|
||||||
@@ -170,15 +170,15 @@
|
|||||||
|
|
||||||
(defn horizontal*
|
(defn horizontal*
|
||||||
[children]
|
[children]
|
||||||
(init-group (HorizontalGroup.) children))
|
(create-group (HorizontalGroup.) children))
|
||||||
|
|
||||||
(defn vertical*
|
(defn vertical*
|
||||||
[children]
|
[children]
|
||||||
(init-group (VerticalGroup.) children))
|
(create-group (VerticalGroup.) children))
|
||||||
|
|
||||||
(defn table*
|
(defn table*
|
||||||
[children]
|
[children]
|
||||||
(init-group (Table.) children))
|
(create-group (Table.) children))
|
||||||
|
|
||||||
(defmacro horizontal
|
(defmacro horizontal
|
||||||
[children & options]
|
[children & options]
|
||||||
|
|||||||
Reference in New Issue
Block a user