From: Terry Michaels Date: 2010-08-03T13:57:13+09:00 Subject: Re: Shoes: Stacks and Flows jeremy Ruten wrote: > If you set the widths of the stacks explicitly, they will flow in one > line: > > app = Shoes.app do > background "#FFFFFF" > flow :width => 1.0 do > stack :width => 0.33 do > para "North America" > button("View") do > end > end > stack :width => 0.33 do > para "Europe" > button("View") do > end > end > stack :width => 0.33 do > para "Asia" > button("View") do > end > end > end > end > > You'd do the same sort of thing in HTML to get this layout, so it's > probably the right way to do it. > > jeremy Thanks. This does what I want. Correct me if I'm wrong, but HTML doesn't really have the construction equivalent of a "flow". I wish it did, though! -- Posted via http://www.ruby-forum.com/.