Brian_J Posted June 15, 2021 Share Posted June 15, 2021 I’m looking for advice on how to create what I’ll call “text boxes” in Publisher. The element I want can be created in HTML with CSS and in Word with paragraph styles… but I can’t figure out how to do it in Publisher. I got close, but I can’t get the right side of the text boxes to extend to the right side of the text frame (see attached screenshot and APu file). These are the attributes I need the text boxes to have: Extend the full width of the text frame regardless of the amount of text in them. Height expands/contracts to fit text. In line with surrounding text — i.e., moves with surrounding text. The amount of space between the text and all four box borders can be precisely set (margin/padding). Background color and stroke can be applied. Thanks. 2021-06-15 Text Boxes.afpub Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted June 15, 2021 Share Posted June 15, 2021 You'll want to look closer at the options for the decorations regarding distance from the text to the border of the decoration and you can set the width of the decoration to the text frame's width (or even wider if you want). Brian_J 1 Quote Mac Pro (Late 2013) Mac OS 12.7.2 Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
Brian_J Posted June 15, 2021 Author Share Posted June 15, 2021 Awesome! Thanks @Old Bruce. Since I wasn't using multiple columns it didn't occur to me my text frame is in a column... it's just a single column. 🤦♂️ It doesn't look like there's a way to add a radius to the corners, am I correct? Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted June 15, 2021 Share Posted June 15, 2021 4 minutes ago, Brian_J said: It doesn't look like there's a way to add a radius to the corners, am I correct? I am sure you cannot, but I am frequently wrong. Brian_J 1 Quote Mac Pro (Late 2013) Mac OS 12.7.2 Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
Brian_J Posted June 15, 2021 Author Share Posted June 15, 2021 5 minutes ago, Old Bruce said: I am sure you cannot, but I am frequently wrong. Right on. Gives me something to hope for in a future release. Quote Link to comment Share on other sites More sharing options...
loukash Posted June 15, 2021 Share Posted June 15, 2021 1 hour ago, Brian_J said: there's a way to add a radius to the corners It's kinda "hidden workaround" and requires minor math skills but it works like this: Add some custom Pressure profile and you can have pretty fancy shapes as paragraph decoration… Brian_J 1 Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
Brian_J Posted June 15, 2021 Author Share Posted June 15, 2021 @loukash Thank you man! I was able to add a border by applying a second decoration. I had to break out the calculator to figure that stuff out. It's not an ideal way to have to do it, but at least it can be done and I have a template I can use in the future. Appreciate your help. Quote Link to comment Share on other sites More sharing options...
lacerto Posted June 16, 2021 Share Posted June 16, 2021 (...) Quote Link to comment Share on other sites More sharing options...
Brian_J Posted June 16, 2021 Author Share Posted June 16, 2021 @Lagarto Thanks for the additional idea. I don't understand how you applied the border and corner radius. Can explain how that's done? Quote Link to comment Share on other sites More sharing options...
lacerto Posted June 16, 2021 Share Posted June 16, 2021 (...) Brian_J 1 Quote Link to comment Share on other sites More sharing options...
Brian_J Posted June 16, 2021 Author Share Posted June 16, 2021 Ah, I get it. Shape first, then convert to text frame. Good idea to keep in my bag of tricks. Thanks again. lacerto 1 Quote 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.