View Full Version : Basic layout: proportional splits?

19 Jun 2009, 9:28 AM
In desktop APIs there is typically a concept of specifying a split between two items and having the API or framework attempt to maintain a proportional split. For example, you'd specify that the left side be 30%, the right 70%, and upon resizing those proportions would be maintained for you.

With extjs (for a typical border layout with splits) can this sort of thing be specified with config params, or is some sort of resize event handler needed?

19 Jun 2009, 10:40 PM
Have you taken a browse round the examples? Read the API docs for all the layout classes?

hbox layout will do this (But the box layout classes currently don't implement split bars and mouse resizing.... it has been requested)

There's also a FR for %age based sizes to be specifiable (and maintained) on border layouts.