Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
That's a great idea!
We could have Divide act like Griddify when supplied with multiple numbers. For example:
So basically, the first number determines the number of divisions, and if a second number isn't present, it'll just add a guide at each division position. But if there are one or more additional numbers present, it'll turn those into "gutters" and then makes sure their center matches the division's center.
What do you think?
My thought exactly. I actually at first tried typing
I'm now thinking it might be a good idea (and more intuitive) to create the actual guide inside the gutter, not just the gutter lines themselves.
For your examples, shouldn't that be
@justo Yeah this is pretty important. I'm working on it :)
@xdividr I was just writing the code for this feature, and I wanted to ask your opinion again about where to put these guides. Your idea about putting division guides inside the gutters looks simple enough, but it can't achieve the system you show in the first comment:
So, wouldn't writing
Agreed, for max flexibility, it probably makes the most sense to do as you're suggesting:
Referring to the grid in my first comment, I now realize there are actually 3 things going on:
With the current version, you can easily do both 1. and 2. So to accomplish my example, I'm thinking you could:
Does this make sense? Happy to clarify.