源代码:
Create window
Resize window
运行结果: