-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
I am trying to set a custom font as globally as possible, and the first things I tried were:
Teacup::Stylesheet.new(:main) do
style UILabel,
font: UIFont.systemFontOfSize(10)
endand also (with Teacup::Appearance.apply in my app delegate):
Teacup::Appearance.new do
style UILabel,
font: "Helvetica".uifont(10)
endwhereas these work:
style UIView,
backgroundColor: UIColor.blackColor
style :label,
font: "Helvetica".uifont(10)I am on iOS 7, and all my UILabels are inside TableViews. I have included the Teacup::TableViewDelegate.
Am I missing something or misunderstanding how styling classes is supposed to work? Thanks.
Metadata
Metadata
Assignees
Labels
No labels