compact layout for main form