Jump to content
You must now use your email address to sign in [click for more info] ×

affinity publisher relative position


Recommended Posts

13 hours ago, visequad said:

need to set a distance between 2 spared text fields to be dynamic on my master. Meaning when one grows to 2 lines the other keeps the distance.  Help me set it up.

Welcome to the Serif Affinity forums.

If they're separate objects, there's no way that I know of to have the distance maintained dynamically. If you had one text frame, though, you could:

  1. Use a Text Style for the headline, and have it use a Paragraph Decoration to provide the purple background. (But it would not have rounded corners.)
  2. That Text Style could also use Space After to provide the constant spacing you want, and it could also switch to the proper Text Style for the following text.
  3. I'm not sure about getting the red background for the number, though. That might be done with a Character Background.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

15 hours ago, visequad said:

I need to set a distance between 2 spared text fields to be dynamic on my master. Meaning when one grows to 2 lines the other keeps the distance.

1 hour ago, walt.farrell said:

If they're separate objects, there's no way that I know of to have the distance maintained dynamically.

Affinity has two separate features which can do automatic text move as wanted: Text Wrap and/or Pinning. It does not move the objects but their text content.

Text Wrap assigned to the top frame:

1006571764_distancebyTextWrap.thumb.jpg.edcf78aba92ab051ac43eb78a6f5d605.jpg

Pinning (the left frame has no bottom border set but uses its frame height only):

1632615798_distancebyPinning.thumb.jpg.5bb54c3f01e038f69950b11317188604.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.