aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/miglayout.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/miglayout.clj')
-rw-r--r--src/clojure/contrib/miglayout.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/clojure/contrib/miglayout.clj b/src/clojure/contrib/miglayout.clj
index 13ed92ef..e841a450 100644
--- a/src/clojure/contrib/miglayout.clj
+++ b/src/clojure/contrib/miglayout.clj
@@ -42,14 +42,16 @@
:column or :row. Constraints for a keyword item affect the entire
layout.
- Constraint: string, keyword, vector, or map
+ Constraint: string, keyword, vector, map, or set
- A string specifies one or more constraints each with zero or more
arguments.
- A keyword specifies a single constraint without arguments
- A vector specifies a single constraint with one or more arguments
- A map specifies one or more constraints as keys, each mapped to a
- single argument"
+ single argument
+ - A set groups two or more constraints, each a string, keyword,
+ vector, map, or set"
[#^Container container & args]
(let [item-constraints (apply parse-item-constraints args)
{:keys [keywords components]} item-constraints