-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Renames: align to horizontal_alignment, valign to vertical_alignment, *Container/Tabs alignment, related #55299
Conversation
So in all those classes that didn't have horizontal fill option, does this introduce an undefined behavior now? |
e993386
to
356bc13
Compare
Looks like most classes add FILL as an alias of LEFT, so I did that for the rest of the switch statements. |
Any ideas on why the static check is failing? Even if I change the type to "Error" it shows "ERROR: Unresolved type 'Error', file: Button" |
I think you have a typo, you refer to |
33320c9
to
b7a2156
Compare
We discussed this in a PR meeting and agreed that this makes sense. There's a couple points that could still be worked on though:
|
Doesn't look like it's easily possible. |
Maybe |
51f0305
to
2e37224
Compare
FYI |
I guess it make sense to move text alignment enums to the text server. It should not cause any dependency issues, but I'm not sure if it's better than global space. |
Alternatively if we want to keep them in global space, I think some of the enums in |
Thanks! |
@akien-mga Uh oh! Something slipped by GH actions somehow: https://github.com/godotengine/godot/blob/master/editor/plugins/material_editor_plugin.cpp#L128 Should I make a follow up, or can you just commit a fix?
Edit: Resolved by 3752e8f, crisis averted |
See: #54161 (no comment AFAIK)
Also unifies the repeated enums in different classes such as Label, Button, etc.