debiscott / simile-widgets

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

TIMELINE: Event width at 200px truncates text #472

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Events with long names wordwrap and second line is hidden.
2.
3.

What is the expected output? Residence (Between 1910 and 1920)
What do you see instead? Residence (Between 1910 and

What version of the product are you using? On what browser and what
operating system?
http://simile.mit.edu/timeline/api/timeline-api.js integrated with TNG 
Genealogy Site Building.

Please provide any additional information below.
If width of event could be increased from 200px to 250px, it would solve the 
problem.

Problem can be seen at

http://www.davereillysplace.com/tng/timeline2.php?primaryID=I116&tree=1&chartwid
th=

User test
Password test

Thank You for any help

Original issue reported on code.google.com by davidrei...@gmail.com on 21 Mar 2012 at 4:40

GoogleCodeExporter commented 9 years ago
Problem tested and is present on IE, Firefox and Chrome. All are latest 
versions.

Original comment by davidrei...@gmail.com on 21 Mar 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Thank you for using Timeline. The problem that you describe is the designed 
behavior in the Standard Event Painter. Wrapping of long titles would cause an 
event to overlap with events that are painted on the next track below. 

Solutions/Workarounds that you can use:
1) Use shorter event labels. Eg "1910-1920" not "Between 1910 and 1920"
2) Use the caption property to provide the more detailed info. The caption 
shows on mouse hover. See 
http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources
3. Make the label font smaller. This can be done with CSS.
4. If you are a programmer, you can change the source of the event painter to 
implement the behavior that you'd like.

Original comment by larryklu...@gmail.com on 21 Mar 2012 at 2:03