Use the Edit ‣ Remove all gaps item in the Actions main menu or in the context menu to remove all gaps from the alignment.