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
[VID] Late switching of layout direction #4733
Comments
I guess this can be considered a (non human friendly) feature. Close it if it is (; |
Well, R2 just creates a vertical stack with your code, which would be even harder to climb. :^) At a glance it made sense to me, because the cursor (next position) is set when a face is placed, so when you get to a direction keyword it doesn't go back and recalc from the previous face. Design wise, this could be justified either way. But when I looked at the code for I don't have time to think through effects on grid layout mode, but I don't think changing this will break much code. It's possible someone leverages it, especially in combination with R2 code using the The stair layout is a great example for this, if a bit pathological. ;^) |
Yeah well. I see why it is like this too. But it's not that hard to keep both the offset & size of the last laid out face, and then walk forth from it along the across/below chosen axis (in size+spacing increments). Almost the same complexity but more predictable. |
If you create a branch to do that, I'll press Nenad to evaluate it. |
I'll rescind my pathological comment as well, because this could apply directly to tree view layouts. |
Describe the bug
I was drawing a stair (;
view [base base below base across base below base across base]
Platform version
The text was updated successfully, but these errors were encountered: