Suppose we have VBoxLayout setup for LayoutContainer, and we added 3 ContentPanels.
After that all 3 panels as expected resized and thay have same height. But than we removed one panel calling LayoutContainer remove() method, and than added new panel to container.
Now is the problem, after addind that last panel VBoxLayout didn't resize all panels that already exists,
so thay all panels doesnt have same height.
What is can be problem with?
You probably dont want to use VBoxLayout for this but RowLayout. But to fully answer this, we will need to see your code in a standalone testcase and a complete description what you want to do
Just open in Eclipse and run (you should have Google plugin installed).
-----
When you close panel, at top of screen appear buttons, that buttons (after clicking on them) adds new panels to VBoxLayout, but after adding rest panels in VBox not resized correctly.
I have not run that code. It is not really a simple demonstration of your description. But according to your description you should use a RowLayout here with a RowData of (1,.25d).