Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMBase
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMBase
Commits
aad7e927
Commit
aad7e927
authored
Sep 21, 2017
by
汪洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化导航栏字体
parent
fca97fd8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
OCNavigatioinBar.m
GMBase/Classes/OCNavigatioinBar.m
+3
-2
No files found.
GMBase/Classes/OCNavigatioinBar.m
View file @
aad7e927
...
@@ -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
:
1
6
];
_titleLabel
.
font
=
[
UIFont
navigationFontWithSize
:
1
8
];
_leftButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
_leftButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
_rightButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
_rightButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
_nearRightButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
_nearRightButton
=
[
OCNavigatioinBarButton
buttonWithType
:
UIButtonTypeCustom
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment