Set editor to appropriate height.