So as you see I am using VBoxLayout with STRETCH and FLEX. To that container I added three ContentPanels. (See attachement 1.png). Then as you see when I remowing some panels all Conteiner is refreshed by calling layout() method after removeWidget(). (See 2.png). But now problem is when I adding new widget to LayoutContainer, and after calling layout() method height of that three panel not refreshed and not equal. (See 3.png)

What to do that after adding widget to VBoxLayout all other widget resized to same height?