SCorley0901 / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

Fixed width of labels, want them to wrap without overlapping other tracks. #410

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Set a fixed width of labels with css
2.Have long labels
3.Text overlaps next item in timeline.

What is the expected output? What do you see instead?
Is it possible to set the label width so long labels wrap after lets say 500 px 
using javaScript?
Trying to do this in css causes text to overlap.

Original issue reported on code.google.com by Distres...@gmail.com on 3 Nov 2010 at 10:34

GoogleCodeExporter commented 9 years ago
I fixed the label width for the events in css. 
However, once the text wraps, it overlaps with the text of the event below it, 
as shown in the image attached.
Can we avoid this overlap? I see that there is an instyle css for Top getting 
generated for each event label automatically. I am not sure where this is 
getting generated. Any clue??
Once this is known, we can alter the Top value to increment based on label 
height.

Original comment by ddivya.r...@gmail.com on 27 Dec 2010 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 10:19