Hi I'm Japanese, so sorry if my English is wrong. I'm try to display GUI window with WALK(github.com/lxn/walk). But there is a problem dose not go well.
If you run this code, maybe the window displayed upper left of screen. I want to set the position of the window in center of screen. What should i do? import ( "github.com/lxn/walk" . "github.com/lxn/walk/declarative" ) type MyLoadWindow struct { *walk.MainWindow progressBar *walk.ProgressBar } func Main() { mw := &MyLoadWindow{} // 画面情報設定 MW := MainWindow{ AssignTo: &mw.MainWindow, // Widgetを実体に割り当て Title: "コンピュータの情報を取得中", Size: Size{ 300, 100}, Font: Font{PointSize: 12}, Layout: VBox{}, Children: []Widget{ // ウィジェットを入れるスライス ProgressBar{ AssignTo: &mw.progressBar, MarqueeMode: true, }, }, } if _, err := MW.Run(); err != nil { println("Error") return } } If someone know solution, please show me. thank you. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.