clj-commons/seesaw

Nesting a horizontal panel in a vertical panel breaks alignment

raffomania opened this issue · 0 comments

Consider the following frame:

(frame :content 
  (vertical-panel :items [
    (label :text "OK?" :halign :left) 
    (horizontal-panel :items [
      (button :text "Cancel") 
      (button :text "OK")])]))

This centers the "OK?" label, ignoring the :halign :left option.