How to control alignment in the toolbar.


I Am trying to align buttons in the toolbar. Assume i have two buttons (btn_one,btn_two)
btn_one must be in the left part of the screen and btn_two must be in the right part of the screen .

Please provide any usefull links or tutorials to do this task.

You need to use SPACER: … pacer.html

toolbar.addText("btn_one", 0, "Text"); toolbar.addSpacer("btn_one"); toolbar.addButton("btn_two", 1, "Text");