set the sizes of sub-widgets in the main splitter