PDA

View Full Version : How to align a button inside a toolbar



shajeerkt
26 Jan 2010, 11:23 PM
Dear All,

I need to align a buton inside a toolbar towards the rightside 5 centimeter .
That means i should move the button 5 cm towards right from another button .

Can any one please tell me how to do this?

Love Yao
28 Jan 2010, 12:04 AM
toolBar.add(button);
toolBar.add(new Text(" "));

maybe will help you

shajeerkt
1 Feb 2010, 1:22 AM
Thanks for your reply,





toolBar.add(button);
toolBar.add(new Text(" "));

I am using GXT 2.1.0.the above code does not work gfor 2.1.0
the above code works for 2.0.1.

Any help will be appreciated