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 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];
... ...