Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extjs Dynamically wrapping items in a container

Tags:

extjs

extjs4

Why is this so difficult? I've got a container, layout:'hbox', and a collection of buttons in it. The problem is that the buttons continue beyond the right bounds of the container. What are the best practice methods of wrapping content inside of a container? Should I just float:"left" my child items? I can use fixed widths everywhere, my site does not resize horizontally.

like image 657
Grahame A Avatar asked Aug 31 '12 16:08

Grahame A


1 Answers

The proper way to do what I was looking for here was to use layout:'column' which would treat its children like floating divs.

like image 110
Grahame A Avatar answered Nov 04 '22 10:11

Grahame A