zmitchell Posted February 16, 2023 Posted February 16, 2023 I've created a text frame and given both the text and the background a color. I place a guide line for alignment purposes and then try to snap the text frame up against the guide, but it snaps to the text instead of the background fill. This makes sense because it's consistent with how the alignment would look without a background fill, but when you do have a background fill it now spills over the alignment guide. Is there a better way of aligning text frames, or is there a way to use the background fill as the reference for alignment rather than the text's bounding box? Quote
thomaso Posted February 16, 2023 Posted February 16, 2023 Hi @zmitchell, welcome to the Affinity forums! You have a bunch of options to adjust the default position of text within its frame, respectively the position of a text's background decoration fill. For instance below with indent (left) + space before (top) … while the text frame options are not used in this sample. It enables you to make the background fill snap together with the frame bounding box. To make it snap to a baseline grid you can use additionally the character baseline shift (Character Panel). Note that character and paragraph settings can get saved with a text style – while text frame options don't. Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1
zmitchell Posted February 17, 2023 Author Posted February 17, 2023 Thanks, that's a step in the right direction. Is there a way to set the "size"/width/height of the background fill independently of the font size? I'm wondering if it's just simpler to create a rectangle with the desired fill and position a text frame inside of it. Quote
walt.farrell Posted February 17, 2023 Posted February 17, 2023 1 minute ago, zmitchell said: Thanks, that's a step in the right direction. Is there a way to set the "size"/width/height of the background fill independently of the font size? I'm wondering if it's just simpler to create a rectangle with the desired fill and position a text frame inside of it. Perhaps you should consider Artistic Text rather than Frame Text? Quote -- 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.3.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
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.