Are you sure you added the dock windows to the main window properly? Can you show us the code you have written to do that?
And what is wrong with it exactly? There are splitters dividing the components and the width of dock widgets is clearly determined by their contents... So?
Bookmarks