Script To Align Photo bounding box in Layout

Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch Forums Using Tap Forms 5 Script To Align Photo bounding box in Layout

Viewing 2 reply threads
  • Author
    Posts
  • February 19, 2021 at 2:06 AM #43504

    John Eckenrode
    Participant

    Is there a script, or another way, to reposition a photo within the bounding box in a form layout?

    In other words, I have a layout for an art collection catalog.
    I have a square bounding box for the main photo on the layout page.
    I want to align the photos to the top of the bounding box.
    Tap Forms defaults to centering the photo within the bounding box.
    I want it to align to the top of the box.

    This a purely aesthetic change I’d like to execute–to make the layout nicer/cleaner/more consistent
    with differing art aspect ratios and orientations.
    Not a must have, but a “it would be nice” to have.

    Any ideas how to do this? Is this even possible?

    February 20, 2021 at 1:18 PM #43517

    Brendan
    Keymaster

    Hi John,

    Yes, you can actually do this. I added this feature not too long ago.

    On a custom layout, go into Layout Edit mode. Then select your Photo field. Then click on the various alignment buttons. These are the same alignment buttons that would be used to align text left, right centre, or justified. Tap Forms uses these buttons for aligning the photos too.

    Thanks!

    Brendan

    February 20, 2021 at 10:54 PM #43525

    John Eckenrode
    Participant

    Brendan,

    Thanks! Exactly what I wanted!

    J

Viewing 2 reply threads

You must be logged in to reply to this topic.