PDA

View Full Version : Vertical align button groups in toolbar



mitch_feaster
13 Jul 2009, 12:48 PM
This one should be easy (I hope)...

The title says it all. See attached screenshot. I'd like all the button groups to be vertically aligned at the top of the toolbar.

I've tried:


style: "vertical-align: top"
and


defaults: {
style: "vertical-align: top"
}
in the config options of the toolbar, neither producing the desired effect.

Animal
13 Jul 2009, 12:52 PM
They already do: http://extjs.com/deploy/dev/examples/toolbar/toolbars.html

Post code

Animal
13 Jul 2009, 12:56 PM
Oh, I see they don't behave like that! You will need



.x-toolbar td.x-toolbar-cell {
vertical-align: top;
}

mitch_feaster
13 Jul 2009, 1:09 PM
Awesome! Thanks animal! You're an animal!