adapte print panel content to the tool window size

so the rotation field isnt hidden or cut at the bottom
this fix #488