Hi All, Re: Labels wrap on Firefox/Mac
I spent some time on this problem today and narrowed things down to a specific problem of bad values being returned from the offsetWidth property in certain circumstances on Firefox/Mac. I built a test page: http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/test_example/firefox_mac_test_case.html And filed an official bug with the Firefox folks: https://bugzilla.mozilla.org/show_bug.cgi?id=458617 The offsetWidth property appears to be about 1% too small. Increasing it by the larger of [1% of the reported width, 1px] solves the problem. Eg a short label of "Test 1" has a reported width of 28px on FF/Mac and 29px on Safari/Mac. The text wraps in FF. Increasing the width to 29px stops the wrapping. I'll add the workaround (for FF/Mac only browsers) to the source sometime relatively soon. We'll see what the Firefox folks do with the bug report. If you want to be notified when the bug is changed, you can add yourself to the bug's cc list. Regards, Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
