update navigationBarTitleFont for NavigationTitleLabel

This commit is contained in:
nixzhu
2015-11-03 18:02:12 +08:00
parent 013c8b849b
commit 6c8d53c6ff
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ extension UIFont {
return UIFont.systemFontOfSize(14)
}
class func navigationBarTitleFont() -> UIFont {
return UIFont.boldSystemFontOfSize(15)
class func navigationBarTitleFont() -> UIFont { // make sure it's the same as system use
return UIFont.boldSystemFontOfSize(18)
}
class func feedMessageFont() -> UIFont {
+1 -1
View File
@@ -20,7 +20,7 @@ class NavigationTitleLabel: UILabel {
text = title
textAlignment = .Center
font = UIFont.navigationBarTitleFont()
font = UIFont.navigationBarTitleFont() // make sure it's the same as system use
textColor = UIColor.yepNavgationBarTitleColor()
sizeToFit()