Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | IHate |
If I try to set the stylebox border directly with set("custom_styles/panel/border_color",Color.white)
the panel Node goes to the default Style
but using get("custom_styles/panel").border_color = Color.white
works.
Why is that? It took me a while to figure out, sometimes instead of a StyleBoxFlat it detected a StyleBoxTexture for some reason.