Whanh, perhaps I'm just out of practice, but.. you can flow flows in
flows rite? This code:

Shoes.app do
  border red, :strokewidth => 5
  para "A"
  flow do
    border orange, :strokewidth => 5
    para "B"
    flow do
      border yellow, :strokewidth => 5
      para "C"
    end
    para "D"
    flow do
      border green, :strokewidth => 5
      para "E"
    end
    para "F"
  end
  para "G"
end

acts like a stack of stacks of stacks.

I wasn't sure if I had to specify widths to flow flows, so I tried that:

Shoes.app do
  border red, :strokewidth => 5
  para "A", :width => 100
  flow :width => 120 do
    border orange, :strokewidth => 5
    para "B", :width => 100
    flow :width => 120 do
      border yellow, :strokewidth => 5
      para "C", :width => 100
    end
    para "D", :width => 100
    flow :width => 120 do
      border green, :strokewidth => 5
      para "E", :width => 100
    end
    para "F", :width => 100
  end
  para "G", :width => 100
end

with no lucks.

Helps? WinXP and 0.r1134 in case that's decrepit now?

Thanks! :D

- - Jesse

Reply via email to