Skip to content

Instantly share code, notes, and snippets.

@colinta
Forked from Cosmo/gist:2868653
Created June 4, 2012 14:15
Show Gist options
  • Save colinta/2868657 to your computer and use it in GitHub Desktop.
Save colinta/2868657 to your computer and use it in GitHub Desktop.
Teacup::Stylesheet.new(:iphone) do
# enable orientations on the root view
style do
left 0
top 0
width 320
height 480
backgroundColor :lightyellow.uicolor
portrait true
upside_down false
ipad do
landscape do
backgroundColor :pink.uicolor
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment