Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StyleBoxTexture Draws Above Button #37527

Closed
rakkarage opened this issue Apr 2, 2020 · 1 comment
Closed

StyleBoxTexture Draws Above Button #37527

rakkarage opened this issue Apr 2, 2020 · 1 comment

Comments

@rakkarage
Copy link
Contributor

Godot version:
3.2.1
OS/device including version:
Windows 10
Issue description:
Focus draw on top of button? I need it under?
Steps to reproduce:
Button0.pngButton1.pngButton2.pngButton3.png
focus.gif

how to make the focus draw below the button?
or how can i make a focus for this theme?
it must draw around both up and down buttons
in my case my up button has a different shape then the down button?
so the focus passes through the top and shadow on sides
is there some way to make it draw the focus below? or

i tried stamping the button image onto the focus but the button can be tinted but i could tint focus too?
i could use a script to change the focus image when pressed or not? but you cannot use scripts in themes anyway it would fix one button and leave theme looking messed? idk
The tabs control has a bg and fg styleTextureBox maybe the focus could have both two?
it seems like all my problems would be solved if i could traw focus under the rest

thanks

2020-04-02 (2)

Minimal (NOT) reproduction project:
https://bitbucket.org/henrysoftware/pixelinterface/

@Calinou
Copy link
Member

Calinou commented Mar 7, 2022

This was documented in #42579, closing. See also #42322 and godotengine/godot-proposals#2011.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants