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
Antoine Gamond
2014-08-27 11:06:51 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0d6907211d0f6fc3d52ec11af22f81d70fa2d2f
c0d69072
1 parent
1c6921cc
Enable adjustsFontSizeToFitWith for PNChartLabel
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
PNChart/PNChartLabel.m
PNChart/PNChartLabel.m
View file @
c0d6907
...
...
@@ -18,10 +18,12 @@
if
(
self
)
{
// Initialization code
[
self
setFont
:[
UIFont
boldSystemFontOfSize
:
11
.
0
f
]
];
self
.
font
=
[
UIFont
boldSystemFontOfSize
:
11
.
0
f
];
self
.
backgroundColor
=
[
UIColor
clearColor
];
[
self
setTextAlignment
:
NSTextAlignmentCenter
]
;
self
.
textAlignment
=
NSTextAlignmentCenter
;
self
.
userInteractionEnabled
=
YES
;
self
.
minimumScaleFactor
=
0
.
8
;
self
.
adjustsFontSizeToFitWidth
=
YES
;
}
return
self
;
...
...
Please
register
or
login
to post a comment