How to right align a toolbar text item

Folks,

I am trying to position a toolbar text item on the right hand side of the toolbar. The toolbar extends the whole width of the page. I have tried using css (float:right and text-align:right) as well as toolbar.setRTL(true) which causes the text item to just disappear. I am also wondering what the position argument in addText(id, position, text) means. Is it a positional number relative to other toolbar items, or is it a positional measurement such as pixels or ems, and should it be enclosed in quotes such as “100px” or is just an integer acceptable?

Your help is appreciated.

Thanks,

Daryl

Hi
Use method addSpacer()
docs.dhtmlx.com/doku.php?id=dhtm … ddspacer&s[]=addspacer
dhtmlx.com/docs/products/dht … pacer.html