From: jeremy Ruten Date: 2010-08-03T14:21:50+09:00 Subject: Re: Shoes: Stacks and Flows It doesn't really, but it has a similar idea. In HTML, you might replace the stacks with
elements and apply a "float: left;" style to them, specifying the width of each one. They'd then "flow" in a horizontal line like a Shoes flow. That's all I meant in my HTML comparison. jeremy On Mon, Aug 2, 2010 at 10:57 PM, Terry Michaels wrote: > 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/. > >