1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.

What's a Stack? What's a Flow? --The Shoes Layout Manager

By

2 of 6

Flows
What's a Stack? What's a Flow? --The Shoes Layout Manager

A flow packs things horizontally. If three buttons are created inside of a flow, they'll appear next to each other.

Shoes.app :width => 400, :height => 140 do
  flow do
    button "Button 1"
    button "Button 2"
    button "Button 3"
  end
end

©2014 About.com. All rights reserved.