Commit 9b145d92430cea27ed9f9d4bf6cdd2a136faf402

Authored by zhangxiaowen
1 parent d7f7d8aa

no message

CNLiveSettingModule/Classes/View/CNLiveSettingNavigationBar.m
@@ -81,7 +81,7 @@ static const NSInteger margin = 15; @@ -81,7 +81,7 @@ static const NSInteger margin = 15;
81 - (UIButton *)right { 81 - (UIButton *)right {
82 if (!_right) { 82 if (!_right) {
83 _right = [UIButton buttonWithType:UIButtonTypeCustom]; 83 _right = [UIButton buttonWithType:UIButtonTypeCustom];
84 - _right.frame = CGRectMake(SCREEN_WIDTH-50-margin, StatusBarHeight, 50, NavigationBarHeight); 84 + _right.frame = CGRectMake(SCREEN_WIDTH-NavigationBarHeight-margin, StatusBarHeight, NavigationBarHeight, NavigationBarHeight);
85 [_right setContentHorizontalAlignment:UIControlContentHorizontalAlignmentRight]; 85 [_right setContentHorizontalAlignment:UIControlContentHorizontalAlignmentRight];
86 _right.adjustsImageWhenHighlighted = NO; 86 _right.adjustsImageWhenHighlighted = NO;
87 _right.titleLabel.font = [UIFont systemFontOfSize:15]; 87 _right.titleLabel.font = [UIFont systemFontOfSize:15];