Skip to content

Instantly share code, notes, and snippets.

@chadjemmett
Created October 22, 2011 00:35
Show Gist options
  • Save chadjemmett/1305355 to your computer and use it in GitHub Desktop.
Save chadjemmett/1305355 to your computer and use it in GitHub Desktop.
a snippet of code. Trying to figure out why It doens't look the way I think it should.
#test of stacks and flows.
require "stack_flow_methods.rb"
Shoes.app do
#this flow shows up OK
flow :width => 300, :height => 100 do
background coral
#why don't these stacks show up in the flow I created.
stack :width => "50%" do background blueviolet
end
stack :width => "-50%" do background crimson
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment