Class: MyStylesheet
Instance Method Summary collapse
Instance Method Details
#blue_bg(v) ⇒ Object
13 14 15 |
# File 'app/stylesheets/my_stylesheet.rb', line 13 def blue_bg(v) v.backgroundColor = UIColor.blueColor end |
#bw_big(v) ⇒ Object
2 3 4 5 6 7 |
# File 'app/stylesheets/my_stylesheet.rb', line 2 def bw_big(v) v.backgroundColor = UIColor.blackColor v.textColor = UIColor.whiteColor v.font = UIFont.systemFontOfSize(36) v.textAlignment = UITextAlignmentCenter end |
#white_bg(v) ⇒ Object
9 10 11 |
# File 'app/stylesheets/my_stylesheet.rb', line 9 def white_bg(v) v.backgroundColor = UIColor.whiteColor end |