Main window: Fix layout

Signed-off-by: Jerome Flesch <jflesch@gmail.com>