Godot Version
4.3rc3
Question
Does the Godot TabBar support icons? i don’t see a property and a Google search shows the GitHub team discussing adding it in 2020 but i don’t see anything newer that shows the TabBar became, you know, good.
4.3rc3
Does the Godot TabBar support icons? i don’t see a property and a Google search shows the GitHub team discussing adding it in 2020 but i don’t see anything newer that shows the TabBar became, you know, good.
Yes TabBar supports icons for it’s elements.
How? i didn’t see anything in the inspector?
Ah. Right. You and i are using the TabBar very differently. i’ve seen that thing and can’t for the life of me figure out how to use it. Maybe i’m just really bad at this.
My setup is like this:
TabContainer
TabBar
TabBar
i tried with a TabBar
root and its tabs property and that didn’t work. Here’s a single TabBar
with tabs defined in it. The icon shows but…
TabBar
) have any layout options (both are Container Determined and unchangeable).
Am i doing something horribly wrong here?
TabContainer is easier to use, though lacks a easy way to do icons, it does not need TabBars as children in fact I’d recommend against that specifically.
A TabBar is created automatically as part of a TabContainer.
With only a TabBar you must set up signals to handle changing tab when each element is selected.