Skip to content

Instantly share code, notes, and snippets.

@laurentpetit
Last active January 2, 2016 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurentpetit/8326370 to your computer and use it in GitHub Desktop.
Save laurentpetit/8326370 to your computer and use it in GitHub Desktop.
(defn create-control [parent]
(let [c (composite parent
::project-name-group create-project-name-group
::create-in-group create-in-group
::lein-template-group create-lein-template-group)
$ (partial $ c)]
(config! ($ ::create-in-group)
:form-data {:top {:control ::project-name-group}
:left {:pct 0}
:right {:pct 100}})
(config! ($ ::lein-template-group)
:form-data {:top {:control ::create-in-group}
:left {:pct 0}
:right {:pct 100}})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment