Skip to content

Instantly share code, notes, and snippets.

@ryanabel03
Created August 15, 2013 00:45
Show Gist options
  • Save ryanabel03/6237268 to your computer and use it in GitHub Desktop.
Save ryanabel03/6237268 to your computer and use it in GitHub Desktop.
Teacup::Stylesheet.new :login_screen do
style :scroll_view,
width: '100%',
height: '100%',
autoresizingMask: UIAutoResizingFlexibleWidth | UIAutoResizingFlexibleHeight
style :table_view, extends: :flexible_margins
scrollEnabled: false,
separatorStyle: UITableViewSeparatorStyleSingleLine,
center_x: '50%',
center_y: '50%',
width: '60%',
height: 200
style :flexible_margins,
autoresizingMask: UIAutoResizingFlexibleLeftMargin |
UIAutoResizingFlexibleRightMargin |
UIAutoResizingFlexibleTopMargin |
UIAutoResizingFlexibleBottomMargin |
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment