Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
bigday
2014-09-16 13:32:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a09279ba4cc2080716f9d1f7ff5a4406c5e33edb
a09279ba
1 parent
78fa9d1e
clear the label's background color
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
PNChart/PNCircleChart.m
PNChart/PNCircleChart.m
View file @
a09279b
...
...
@@ -54,6 +54,7 @@
[
_countingLabel
setTextAlignment
:
NSTextAlignmentCenter
];
[
_countingLabel
setFont
:[
UIFont
boldSystemFontOfSize
:
16
.
0
f
]];
[
_countingLabel
setTextColor
:[
UIColor
grayColor
]];
[
_countingLabel
setBackgroundColor
:[
UIColor
clearColor
]];
[
_countingLabel
setCenter
:
CGPointMake
(
self
.
center
.
x
,
self
.
center
.
y
)];
_countingLabel
.
method
=
UILabelCountingMethodEaseInOut
;
[
self
addSubview
:
_countingLabel
];;
...
...
Please
register
or
login
to post a comment