Open GoogleCodeExporter opened 9 years ago
Added test case as part of test example.
I believe the problem is that
SimileAjax.Graphics._FontRenderingContext.prototype.computeSize needs to apply
the
css classname before computing the size. I'm updating the function to do that.
Original comment by larryklu...@gmail.com
on 27 Oct 2008 at 9:23
Original comment by stefano.mazzocchi@gmail.com
on 25 Mar 2009 at 7:01
I am not sure what the status on this is.
It looks like SimileAjax.Graphics._FontRenderingContext.prototype.computeSize
was
updated to accept a classname. However, it looks like all of the
this._frc.computeSize calls in the painters don't pass in a classname (at least
in
the code I checked out of SVN).
I believe all of the lines that look like:
var labelSize = this._frc.computeSize(text);
can be changed to:
var labelSize = this._frc.computeSize(text, "timeline-event-label " +
(labelData.className ? labelData.className : ""));
This is working for me w/ CompactPainter.
Original comment by mattd%wh...@gtempaccount.com
on 23 Dec 2009 at 7:11
Original issue reported on code.google.com by
dsav...@semi-directory.com
on 12 Oct 2008 at 6:19