-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[3.x] Refactor layer property editor grid #51040
Conversation
- 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
cc73cc2
to
e0e9f57
Compare
I've pushed text color changes based on #51039 (comment) (CC @Calinou). In comparison to 4.0, I'm using This is the result with the default theme: For reference, that was the result on a light theme with the same settings as on master: |
Looks good to me. I was just wondering if it could be problematic for UX that the numbers are not contiguous, e.g. when looking at the first row:
One alternative could be to write top-to-bottom and then left-to-right like this:
But I don't know if that's better. |
I think that contiguous rows is how it is currently, but we still split it in chunks, so it is even more confusing IMO:
So this is actually better for my taste. |
Numbers are organized by blocks to keep things consistent when resizing and follow left-to-right reading in each block to make it intuitive in English. It could be inverted for RTL languages, but apart from that I don't see another approach that really works in term of UX. |
Thanks! |
Wouldn't it be better to use a zero-based numbering, to keep it consistent with bit numbers in 0 1 2 3 I started using Godot 3.4 today, and loved the feature of controlling all 32 layers, but lost half an hour right away because I was working with the wrong bit in code. Maybe others could get confused as well. (Sorry if I'm writing here, I didn't feel like opening a full bug report or proposal for such a small thing.) |
@pouleyKetchoupp Thanks, that solution will be even better! |
Implements proposal godotengine/godot-proposals#2770 on the 3.x branch (see #51039 for 4.0), 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: