Apply Theme for Button Tooltip

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RøckOwl
:warning: Old Version Published before Godot 3 was released.

Hello there.

I’m trying to change the visual of a Tooltip when I hover over a TextureButton.
I must do something wrong as changing the Theme of the tooltip doesn’t seem to have any effect.

I’m following the GUI Skinning tutorial which is hard to understand but I finally manage to understand the way it works with a bit of search thanks to this question.

So I have a TextureButton with a texture applied to it and a text into the line “Tooltip”.


Button that pause the game.
enter image description here


Now I’ve created a Theme in the ButtonPause button where I added the class “Tooltippanel” by selecting it. I’ve applied a StyleBoxEmpty to try if it works and the Tooltip remains the same when I launch the project.


enter image description here
enter image description here


Do you have any idea what am I doing wrong? Thank you to have read my topic and I hope someone will be able to help you.

:bust_in_silhouette: Reply From: Guilherme Henrique d

I was facing the same problem.
Just save the theme, clear the button.theme properti and load the saved theme.