Commit aad7e927 authored by 汪洋's avatar 汪洋

优化导航栏字体

parent fca97fd8
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#import "OCNavigatioinBar.h" #import "OCNavigatioinBar.h"
#import <Masonry/Masonry.h> #import <Masonry/Masonry.h>
#import "GMBaseUtil.h" #import "GMBaseUtil.h"
@import GMKit;
@interface OCNavigatioinBarButton () @interface OCNavigatioinBarButton ()
@property (nonatomic, assign) CGFloat adaptiveWidth; @property (nonatomic, assign) CGFloat adaptiveWidth;
...@@ -50,8 +51,8 @@ ...@@ -50,8 +51,8 @@
_titleLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; _titleLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
_titleLabel.textAlignment = NSTextAlignmentCenter; _titleLabel.textAlignment = NSTextAlignmentCenter;
_titleLabel.backgroundColor = [UIColor clearColor]; _titleLabel.backgroundColor = [UIColor clearColor];
_titleLabel.textColor = [UIColor blackColor]; _titleLabel.textColor = HEADLINE_TEXT_COLOR;
_titleLabel.font = [UIFont navigationFontWithSize:16]; _titleLabel.font = [UIFont navigationFontWithSize:18];
_leftButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom]; _leftButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom];
_rightButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom]; _rightButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom];
_nearRightButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom]; _nearRightButton = [OCNavigatioinBarButton buttonWithType:UIButtonTypeCustom];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment