PDA

View Full Version : Toolbar shorthand - needs documenting



seade
17 Jul 2007, 6:08 AM
Odd setup you guys have here - so I cannot contribute a reply to http://extjs.com/forum/showthread.php?t=9225 unless I contribute $$$?

Looking at the source of Toolbar it seems that Toolbar.add() supports the following shorthand:

"separator" or "-" is equivalent to addSeparator()
" " is equivalent to addSpacer()
"-> is the equivalent of addFill()


It would be great if the doco for Toolbar.add() could mention these (currently, 1.1-rc1, it only mentions "separator").

Cheers,

Scott

mystix
17 Jul 2007, 6:16 AM
reported this on your behalf in this thread (http://extjs.com/forum/showthread.php?p=46973#post46973).

you can post documentation bug reports too by the way.

cheers :)