Commit 9b145d92430cea27ed9f9d4bf6cdd2a136faf402
1 parent
d7f7d8aa
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveSettingModule/Classes/View/CNLiveSettingNavigationBar.m
| ... | ... | @@ -81,7 +81,7 @@ static const NSInteger margin = 15; |
| 81 | 81 | - (UIButton *)right { |
| 82 | 82 | if (!_right) { |
| 83 | 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 | 85 | [_right setContentHorizontalAlignment:UIControlContentHorizontalAlignmentRight]; |
| 86 | 86 | _right.adjustsImageWhenHighlighted = NO; |
| 87 | 87 | _right.titleLabel.font = [UIFont systemFontOfSize:15]; | ... | ... |