提交 20b8b8be 编写于 作者: yanghye's avatar yanghye

demo update

上级 404728ca
......@@ -51,9 +51,8 @@ func main() {
println("5秒后显示窗口")
time.Sleep(time.Second * 5)
window.RunOnMainThread(func() {
//window.SetCenterWindow(true)
win.SetPoint(300, 300)
//在屏幕中间显示
//window.SetPoint(300, 300)
window.SetCenterWindow(true)
window.Show()
println("show window")
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册