you can set your theme's autoWidth option to true. It will look similar
to the following:
var theme = Timeline.ClassicTheme.create();
theme.autoWidth = true;
// ... [skip] ...
Timeline.createBandInfo({
date: new Date(),
eventSource: eventSource,
intervalPixels: 60,
intervalUnit: Timeline.DateTime.DAY,
layout: "original",
theme: theme,
timeZone: 2,
width: 160 // minimum, will be adjusted by autoWidth
}),
Have a look at another example here:
http://simile-widgets.googlecode.com/svn/timeline/tags/latest/src/webapp/examples/test_example2/test_example2.html
Hope this helps,
Jonas