rescaling axis when opening editor
Merge pull request #139 from buguen/master

rescaling layout when opening editor