eliminato resize main window