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
StyleBoxFlat more customisable #8604
Comments
Good point, would eliminate a lot of textures and make it easier to change. |
+1 on that! I don't think it would be hard to do, I will check it the code once I have time. |
@magyar123 would be great if you work on that Thank you! |
Good idea. |
Making 4 different border colours is easy, the code is already there you just have to duplicate it. doing different borders for each side is okay, a bit glitchy, looks terrible depending on your colours and the blend mode does not work well with it (or at least I can't fix it) rounded borders are beyond what I can do, but I accidentally caused the blend mode to make a gradient. I think it looks rather nice, might be a worth adding. Someone more experienced should handle these changes, my pr would be hacky. It may be worth making a new StyleBox instead of editing the flat one. |
Are you generating the image from code? |
Same way it's currently done, just a few more calls to the visual server |
I started working on this issue. |
SHOULD WE DROP THEM? |
Since Better Flat style box is merged this is DONE! so discussions about that can be continued there. |
StyleBoxFlat is limited in some ways at the moment.
Issue
Especially with the nowadays UI's having simple flat designs a huge amount could be achieved with StyleBoxFlat. Currently a lot of things need to be done with textures although it's super simple.
proposed features
If all these values could be changed would be great!
It would allow to almost make the whole theme based on flat style box's. It also allows for much better prototyping for game devs. without going to gimp and create small pngs for a button.
How we to Implement?
The text was updated successfully, but these errors were encountered: