Improve layout, auto-resize processing rendering