Jump to content

Recommended Posts

Posted

Hello,

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.  Help me set it up.

 

image.png.d7f867c0c4062108642833e0e6601e3e.png

Posted

Assuming the bottom half is a text box and the purple rounded rectangle is a shape, I would add a margin to the bottom of the rectangle ensuring the text flow is appropriately set. Also checking that baseline is off or set approximately.

Posted
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 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
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

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

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.