Ok, so what is the problem? You have a lot of control over the window layout with a few limits. What are you trying to achieve? What have you tried and what did/did not work?
This might help with understanding window arrangement and layout.
And this little snippet as well.