editors automatically resize to fit in screen