Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to align the boxes vertically, specially Markup fields, they don't align properly and sometimes overlap.
Is there a key combination that will allow us to do fine-alignment?
We are able to fine-align the fields horizontally, but not vertical.
please see the attached image.
Comments
Comment #1
richardp CreditAttribution: richardp commentedThere isn't really any way to do fine alignments as you describe them. AF works by "snapping" the upper left corner of an element to the 10x10 grid.
You can, however, use CSS to manually set the height of all of your text fields to a certain height in px. This should let them line up better.
Sorry, wish I had better news!
Richard
Comment #2
Vako CreditAttribution: Vako commentedThanks Richard for the quick reply.
I wish there was a way to disable the 'align-to-grid' option and move them freely with pinpoint precision. I guess tough luck heh?
The weird thing is that some of the fields are aligning properly, the others not, even though all of them are the same height.
Comment #3
richardp CreditAttribution: richardp commentedYou know, I think it's actually a good idea. I may be able to have something like that as a setting on the Settings page. Maybe I could just let people specify what they want the grid size to be in general. 10px, 5px, or 1px would be the free movement you specified.
I will experiment and put something out if I can get it working (and it doesn't break anything).
Richard
Comment #4
Vako CreditAttribution: Vako commentedRichard, I really appreciate your efforts, hope it will work. Great, essential and very helpful module.
Thanks a lot.
Comment #5
richardp CreditAttribution: richardp commentedOkay, in the latest 6.x release (1.6) you now have the ability to control the "grid width" from the settings page. Set it to 1px for fine control.
Thanks!
Richard
Comment #6
Vako CreditAttribution: Vako commentedThank you very much Richard, it's working great for me. I wasn't expecting a fix so fast and efficient.