Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout breaks with certain documents #5

Closed
stathissideris opened this issue Jun 6, 2016 · 1 comment
Closed

Layout breaks with certain documents #5

stathissideris opened this issue Jun 6, 2016 · 1 comment
Labels

Comments

@stathissideris
Copy link
Owner

Attempting to render the document below results in this exception: DOM element for dali node is nil

[:dali/page
 [:dali/stack
  {:direction :down, :anchor :center, :gap 25, :position [100 100]}
  [:dali/stack
   {:direction :right, :anchor :left, :gap 25}
   [:dali/align
    {:axis :center}
    [:rect {:id :a, :class [:box-text :tree-node]} [20 20] [50 50] 10]
    [:dali/stack
     {:direction :down, :gap 6}
     [:text {:font-family "Verdana", :font-size 14} "root"]]]]
  [:dali/stack
   {:direction :right, :anchor :left, :gap 25}
   [:dali/align
    {:axis :center}
    [:rect {:id :b, :class [:box-text :tree-node]} [20 20] [50 50] 10]
    [:dali/stack
     {:direction :down, :gap 6}
     [:text {:font-family "Verdana", :font-size 14} "l11"]]]]]
 [:dali/connect {:from :a, :to :b}]]
@stathissideris
Copy link
Owner Author

Fixed in 0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant