Class: MyStylesheet

Inherits:
Object show all
Defined in:
app/stylesheets/my_stylesheet.rb

Instance Method Summary collapse

Instance Method Details

#bw_big(v) ⇒ Object



2
3
4
5
6
7
8
# 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.frame = [[20, 40], [280, 50]]
  v.textAlignment = UITextAlignmentCenter
end

#white_bg(v) ⇒ Object



10
11
12
# File 'app/stylesheets/my_stylesheet.rb', line 10

def white_bg(v)
  v.backgroundColor = UIColor.whiteColor
end