0 votes

I'm using custom a StyleBoxTexture for focused and normal on my buttons, but I still get a antialiased border / shadow around the texture when focused. I've tried everything to remove it, but nothing seems to work, it always appears when the button has focus. Please tell me there is a way to remove it.

in Engine by (71 points)

I can't see any border/shadow when I set the Custom Styles > Focus to a StyleBoxTexture with the Godot logo (icon.png). Did you set it up correctly?

I'm pretty sure I did... I did it several times. But just now I tried setting a custom theme for the HBoxContainer I was using (problem still there), filled all the other custom styles with StyleBoxEmpty (problem still there), deleted the custom theme (problem still there), and when I made a new custom theme... the problem went away. Very strange. Godot's GUI skinning options aren't very intuitive, on top of that... It's very confusing. At least it works, I guess. haha

Perhaps you gave it an outline somehow without knowing it. Weird things happen. ¯\_(ツ)_/¯

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories