Update hello_world.md

This commit is contained in:
maicss 2019-06-23 18:25:57 +08:00 committed by GitHub
parent 6be5976fe9
commit 466f728056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -522,8 +522,6 @@ self.move(qr.topLeft())
然后通过move函数把主窗口的左上角移动到其框架的左上角这样就把窗口居中了。
*总结:窗口位于一个框架中,先将框架移动到屏幕中央,再把窗口移动到框架上。*
程序预览:
![center](./images/1-center.png)