thank you for the advice!
2018年12月5日水曜日 12時26分03秒 UTC+9 Robert Engels: > > You should probably file an issue at > > http://github.com/lxn/walk > > They don’t seem to have a community forum, but I think the author could > help you easily. Also you could try stack overflow as there are a few > questions about this library there. > > On Dec 4, 2018, at 7:44 PM, mdi....@gmail.com <javascript:> wrote: > > 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...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- 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.