PDA

View Full Version : Simple task, help the newbie



bereal
17 Apr 2007, 5:06 AM
Hello everybody!

I have just started to use Ext, so I have very simple question:

On my page, I want to have somethink like toolbar with several buttons.

In fact, I want them to look like real buttons, so Ext.Toolbar and Ext.Toolbar.Button is not exact thing that I need.

I tried to create several Ext.Button and add them to one container, but each button was displayed in separate line, and I need them to be displayed in one line.

I also tried Ext.form.Form, but it aligned the buttons to the center of container, and I need it to be aligned to the left.

Many thanks for your answers.

bereal
17 Apr 2007, 5:19 AM
I think this is what I need :

new Ext.form.Form({buttonAlign: 'left'});