I have a window, a panel (fill whole space of window) inside this window and inside panel two fieldcontainers horizontally on the left and on the right side.
----------------------------
| | |
| | |
| left FC | right FC |
| | |
| | |
| | |
----------------------------
Both could be hidden in runtime but, when I set FC_left.Visible(false) right fieldcontainer border isn't on the left side of the window but there's a large margin between left window border and left (this right fieldcontainer) container border. Something like this:
----------------------------
| | |
| | |
| | right FC |
| | |
| | |
| | |
----------------------------
When left containner is invisible I want to see right container on the place of left. How to do it?