Set width for the editor correctly