View Full Version : Shouldn't there be a 'flex' property in the Component documentation?

13 Aug 2009, 10:35 AM
(sorry originally posted to the 2.x forum).

I'm working with the HBox and VBox layouts. These layouts support a 'flex' property which operates (as far as I can tell) in conjunction with a 'flex' property on the contained components. Wouldn't this then mean that the Ext.Component documentation should include a 'flex' property?
Thanks in advance for the clarification.

13 Aug 2009, 11:33 AM

It's one of those configs which have to go into BoxComponent with a bolded warning that specifies that it's only used when that BoxComponent is a child of a BoxLayout.

There are lot of configs which are only valid when the Component configured with them is in a certain place. region for instance, and many more when you start looking at it.

I'll look into it.

13 Aug 2009, 11:35 AM
It got put here: http://extjs.com/deploy/dev/docs/?class=Ext.layout.VBoxLayout&member=flex

I don't think it should be there.

14 Aug 2009, 5:10 AM
Thanks for your response.