Adding GUI window to fit size