Closed ddkwork closed 4 months ago
core/gi/layimpl.go in line 1296
I have gotten this issue before and will work on fixing it.
You should not add your own search textfield to the toolbar; rather, you should use the app chooser that already exists. You can add items to it using this code in your AddAppBar
function:
ch := tb.AppChooser()
ch.AddItemsFunc(func() {
ch.Items = append(ch.Items, gi.ChooserItem{
Value: "my search result",
// etc
})
})
Also note that we will work on improving searching support, especially for tables and trees, in #28, #770, and #675.
Also note that we will work on improving searching support, especially for tables and trees, in #28, #770, and #675.
Thanks
Describe the bug
toolbar not show
How to reproduce
run demo
Example code
Relevant output
Platform
Windows