visequad Posted June 23, 2022 Share Posted June 23, 2022 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. Quote Link to comment Share on other sites More sharing options...
Catshill Posted June 24, 2022 Share Posted June 24, 2022 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. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 24, 2022 Share Posted June 24, 2022 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: 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.) 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. I'm not sure about getting the red background for the number, though. That might be done with a Character Background. Quote -- 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 More sharing options...
thomaso Posted June 24, 2022 Share Posted June 24, 2022 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: Pinning (the left frame has no bottom border set but uses its frame height only): walt.farrell 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
Recommended Posts
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.