PDA

View Full Version : How to add two menu items on one row?



dlygagnon
26 Sep 2011, 9:39 PM
Hi,

I'm very new to ext-js. I was wondering what is the best way to have two items in a row of a menu, similar to having two columns. For example, the left column would hold and image, and the right column would hold some text. Each column would be associated to a different handler, etc...

Any advice on how to go about it?

Thanks!

skirtle
28 Sep 2011, 12:13 AM
Though you'd normally put menu items in a menu, you can actually put in many other types of component instead. If you used containers with suitable layouts it should be possible to arrange images and text within the menu in whatever way you need.

dlygagnon
12 Oct 2011, 10:37 PM
Thanks for the tip Skirtle :)