[nim] Editing layout