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
Kevin
2014-09-28 22:15:26 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
eacea37aa5d8feab4ac58cc982b6b767715478dc
eacea37a
2 parents
78fa9d1e
a09279ba
Merge pull request #106 from bigday/patch-1
clear the label's background color
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
PNChart/PNCircleChart.m
PNChart/PNCircleChart.m
View file @
eacea37
...
...
@@ -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