I tried replacing
topLabel.getAscent()/2
with
(topLabel.getAscent()-topLabel.getDescent())/2
and now the label looks centered. is this the proper method?
Type: Posts; User: Brain_Child
I tried replacing
topLabel.getAscent()/2
with
(topLabel.getAscent()-topLabel.getDescent())/2
and now the label looks centered. is this the proper method?
hey,
I'm trying to complete q3 from this pdf.
http://www.stanford.edu/class/cs106a/handouts/13-assignment-2.pdf
here is what ive written, so far it draws the middle line and the top box, but...