We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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() }
The text was updated successfully, but these errors were encountered:
I have the same problem, have you found any alternative solution?
Sorry, something went wrong.
The problem can be solved by wrapping a layer of Composite around TextEdit, but this will destroy the border
No branches or pull requests
When adding a declarative LineEdit to a GroupBox, the LineEdit's OnTextChanged handler isn't called.
The text was updated successfully, but these errors were encountered: