Open rbeer opened 5 months ago
When adding a declarative LineEdit to a GroupBox, the LineEdit's OnTextChanged handler isn't called.
package main import ( "fmt" . "github.com/lxn/walk/declarative" ) func main() { MainWindow{ Title: "no-onTextChanged-in-groupbox", Size: Size{Width: 400, Height: 100}, MinSize: Size{Width: 400, Height: 100}, Layout: Flow{}, Children: []Widget{ LineEdit{ OnTextChanged: func() { fmt.Println("nogroup changed") }, OnEditingFinished: func() { fmt.Println("nogroup finished") }, }, GroupBox{ Layout: HBox{}, Children: []Widget{ LineEdit{ OnTextChanged: func() { fmt.Println("group changed") }, OnEditingFinished: func() { fmt.Println("group finished") }, }, }, }, }, }.Run() }
When adding a declarative LineEdit to a GroupBox, the LineEdit's OnTextChanged handler isn't called.