Hi Jorge,

Note that the "width" for the Timeline as a whole can be set by the height css 
attribute for the div that will contain the Timeline.
See line 186 in the test_example2 file.

Also set the "width" attributes for the individual bands. As you've discovered, 
when using autoWidth, you need to set them to numbers, not strings or 
percentages.

Hope this helps,

Larry



________________________________
From: Jorge <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Tuesday, March 10, 2009 5:36:13 AM
Subject: setting a band minimum width with autoWidth


Hi,
I´am trying to play with autowidth, but I can´t set a minimum width,
so it starts bigger than I need, and only grows in case of need.
This minimum width should be the default size, and the one that the
band couldn´t  be smaller.
This is the way I thought autowidth worked, but I found out that it
does not respect the width that is declared in the width of
Timeline.createBandInfo.


You can check this changing the values from the 3rd band in
test_example2.php from
width:          25, // set to a minimum, autoWidth will then adjust
to
width:          600, // set to a minimum, autoWidth will then adjust

Notice that the 3 band stays small.

I´am I missing something, or does it work like this ? Is there a way
to set this minimum default size in a band  ?

Thanks


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to