core
core copied to clipboard
hide tabs item
Describe the feature
tab item can be hide
Relevant code
func main() {
//icons.AddFS()
gi.TheApp.SetIconBytes(icon)
b := gi.NewBody("fleet")
tab := gi.NewTabs(b)
tab.NewTab("issue").OnClick(func(e events.Event) {
//To determine whether it is currently shown or hidden, switch the status here
})
}
I will look into this.
I will look into this.
This will save space on small screen computers, but should enlarge the parent control where the tab is located after the hiding operation