I am making an application that will have many nested UI components. You start off on top in a very general area, which will create a base UI container, some kind of panel. In general I am using a DockLayoutPanel, although I am not sure this is the best choice.
Anyway as you begin to drill down into one area or another I am creating a nested UI structure. Lets say Level 1 is just a DockLayoutPanel.
Level 2 ( for a particular sub-system) may divided Level 1 into two new panels. Various components on sub-level 3 will use the two panels on level 2. Perhaps there is a 4th level for some sub-system as well. There are also many other major subsystems with their own hierarchies.
Ok, now onto the meat of my question. I do have a concern such as what if after a lot of work has been done, someone says, "I want the panel on level 1 to be a little bigger or smaller". You see, I have been setting the size of the panels (working in the GWT designer) so everything looks nice and neat.
If the above scenario happens, I will have to go through and manually re-size everything. This will be a huge PITA.
So my question is, is there a way I can design or architect this thing so that if I were to alter a parent component in terms of size, that this effect could cascade or perhaps be automatically compensated for in my application?