core icon indicating copy to clipboard operation
core copied to clipboard

hide tabs item

Open ddkwork opened this issue 1 year ago • 2 comments

Describe the feature

tab item can be hide

screenshots

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
	})
}

ddkwork avatar Feb 04 '24 01:02 ddkwork

I will look into this.

kkoreilly avatar Feb 04 '24 04:02 kkoreilly

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

ddkwork avatar Feb 11 '24 02:02 ddkwork