{
   "labels" : [
      "gui",
      "layout"
   ],
   "code" : "(\r\na = Window();\r\na.layout = v = VLayout();\r\na.front;\r\n\r\nfork({\r\n\t10.do {\r\n\t\tv.add(h = HLayout());\r\n\t\t20.rand.do { h.add(Slider()); 0.1.wait; };\r\n\t\t1.wait;\r\n\t};\r\n\t\r\n}, AppClock)\r\n)\r\n\r\n\r\n(\r\na = Window();\r\na.layout = v = VLayout();\r\na.front;\r\n\r\nfork({\r\n\tvar or;\r\n\t10.do {\r\n\t\tor = [\\horizontal, \\vertical].choose;\r\n\t\tv.add(h = HLayout());\r\n\t\t10.rand.do { h.add(Slider().orientation_(or).value_(1.0.rand)); 0.1.wait; };\r\n\t\t1.wait;\r\n\t};\r\n\t\r\n}, AppClock)\r\n)",
   "id" : "1-52I",
   "is_private" : null,
   "author" : "julian.rohrhuber",
   "name" : "growing layout",
   "description" : "Just an illustration of how layouts behave dynamically.",
   "ancestor_list" : []
}
