|Topic was automatically imported from the old Question2Answer platform.
I have a project where I am attempting to click through tabs in my tab container node, and set the stylebox resource to something different for each corresponding tab.
I am able to callback from each tab click individually as needed, however, every source online i find, leads to me believe that in order to change
in case image doesn’t load
onready var panel = get_stylebox("custom_styles/panel")
onready var panel = get_stylebox("panel")
as the variable, and yet when I attempt to set the new value to a stylebox resource:
onready var red = load("res://source/art/red_styleboxflat.tres")
panel = red
It throws no errors, and no warnings, so I am left to believe that it is accessing something but not actually altering it as the code is set to do.
Is there some other way of changing the TabContainer custom stylebox “panel” property that has not been listed, or am I simply setting this value the wrong way?