-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Refactor layer property editor grid #51039
Conversation
13e91d6
to
4ce80b1
Compare
Looks good, although I'd try writing the numbers using a translucent version of the default text color (multiply the color by You can source the editor theme's default font color with this: |
- Now able to display up to 32 layers in physics (still 20 for render) - Adjustable grid size to fit available space in dock - Expansion icon to display more layers vertically - Layer numbers in cells to help with selection
4ce80b1
to
7a0c210
Compare
@Calinou I've pushed with your suggestion for the text color. It's working well, thanks! I've just made an adjustment for selected layers, I'm using Here's the result with the default theme: I'm going to do something a bit different on the 3.x version though, because the highlight color on the squares is much less pronounced and it looks all washed out when using font colors for the texts. |
Thanks! |
Implements proposal godotengine/godot-proposals#2770 on the master branch (see #51040 for 3.x), based on different comments and suggestions.
List of changes:
For now I haven't implemented the label for layer names like in godotengine/godot-proposals#2770 (comment), because tooltips are already displaying them and it can wait for feedback before doing further improvements if needed.
Physics layers:
Render layers:
Rescaling demo (on the 3.x version, but it works the same in the 4.0 version):