Class: Motion::Xray::XrayHeaderLabel

Inherits:
UILabel
  • Object
show all
Defined in:
lib/motion-xray/views/xray_headers.rb

Instance Method Summary collapse

Methods inherited from UILabel

xray

Instance Method Details

#initWithFrame(frame) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/motion-xray/views/xray_headers.rb', line 30

def initWithFrame(frame)
  super.tap do
    self.font = 'Futura'.uifont(12)
    self.textAlignment = :left.nstextalignment
    self.textColor = :xray_dashboard_label_text.uicolor
    self.backgroundColor = :clear.uicolor
  end
end