-
Notifications
You must be signed in to change notification settings - Fork 58
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
Divide with padding? #20
Comments
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 |
You lost me :) Can you explain a bit more? |
Great! I'll come back to this :) |
I'd just like to also request this feature. I really like the plugin but without an easy way to create gutters on a divided grid (eg 12 20) I don't have too much use for it. Thanks! |
@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. |
I just realized I wrote the wrong example. Anyway, I just packaged a new temporary release for this feature. Can you give it a try and see if it fits the needs you described? |
This works perfectly. Thank you! |
Awesome! Thank you very much for helping me with your time and ideas :) |
Shucks. Thank you for saving me hours of dragging / setting guides! |
@xdividr It's my pleasure. Pinging @justo: Take a look at the new version :) |
@AriaMinaei The new version works perfectly, thank you! |
Loving this extension!
Here's a task I run into constantly. It would be nice to have the option to add padding between divisions, with an identical wrap around the border. Like so:
5 divisions, 20px padding between each. Just another thing that would make the day go faster.
The text was updated successfully, but these errors were encountered: