I have a panel with VBox layout.

I add 2 new panels to its items collection with id's 'child1' and 'child2', both with flex set to 150
I remove both items (using autoDestroy true)

I add 3 items with id's 'child1', 'child2' and 'child3', all with flex set to 100

The first two items get flex 150, the third one gets flex 100.

This happens because during component creation, the state is looked up in the Ext.state.manager by id and apparently the states of 'child1' and 'child2' weren't deleted upon destroy of the components...