class Teacup::Autoresize

Public Instance Methods

fill() click to toggle source

| | FILL |

# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 95
def fill
  flexible_width | flexible_height
end
fill_bottom() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 103
def fill_bottom
  flexible_width | flexible_top
end
fill_left() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 107
def fill_left
  flexible_height | flexible_right
end
fill_right() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 111
def fill_right
  flexible_height | flexible_left
end
fill_top() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 99
def fill_top
  flexible_width | flexible_bottom
end
fixed_bottom_left() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 143
def fixed_bottom_left
  flexible_right | flexible_top
end
fixed_bottom_middle() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 147
def fixed_bottom_middle
  flexible_left | flexible_right | flexible_top
end
fixed_bottom_right() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 151
def fixed_bottom_right
  flexible_left | flexible_top
end
fixed_middle() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 135
def fixed_middle
  flexible_top | flexible_bottom | flexible_left | flexible_right
end
fixed_middle_left() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 131
def fixed_middle_left
  flexible_top | flexible_bottom | flexible_right
end
fixed_middle_right() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 139
def fixed_middle_right
  flexible_top | flexible_bottom | flexible_left
end
fixed_top_left() click to toggle source

| | FIXED |

# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 119
def fixed_top_left
  flexible_right | flexible_bottom
end
fixed_top_middle() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 123
def fixed_top_middle
  flexible_left | flexible_right | flexible_bottom
end
fixed_top_right() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 127
def fixed_top_right
  flexible_left | flexible_bottom
end
flexible_bottom() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 87
def flexible_bottom
  UIViewAutoresizingFlexibleBottomMargin
end
flexible_height() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 83
def flexible_height
  UIViewAutoresizingFlexibleHeight
end
flexible_left() click to toggle source

| | FLEXIBLE |

# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 67
def flexible_left
  UIViewAutoresizingFlexibleLeftMargin
end
flexible_right() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 75
def flexible_right
  UIViewAutoresizingFlexibleRightMargin
end
flexible_top() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 79
def flexible_top
  UIViewAutoresizingFlexibleTopMargin
end
flexible_width() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 71
def flexible_width
  UIViewAutoresizingFlexibleWidth
end
float_horizontal() click to toggle source

| | FLOAT |

# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 159
def float_horizontal
  flexible_left | flexible_right
end
float_vertical() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 163
def float_vertical
  flexible_top | flexible_bottom
end
none() click to toggle source
# File lib/teacup-ios/stylesheet_extensions/autoresize.rb, line 59
def none
  UIViewAutoresizingNone
end