I want to create a button like shape in Indesign, but it has to be flexible in width (auto width).
But I can't seem to make a shape that preserves the corner radius depending on the word written inside the shape.
If I make a rectangle with rounded corners the radius is not large enough - it gets too square compared to the button shape I want.
If I make a shape myself which has the correct corner radius it does not keep these corners when the box is being scaled.
Any solutions to this?
I am using Indesign 19.
Create an Object Style.
There is an option for corners.
Apply this object style to normal rectangles.
Thank you for your answer. But the corner options are still the same. I cannot get the fully rounded corners that I want.
I'm no expert on this @tinakruse, but I had a quick play around and it works for me the way I think you want it to work. I made a text box with a very large radius on all corners, then resized it and they worked fine. Then I connected one edge of one with Liquid Layout and resized the page and that worked too. Is your situation different? Sorry if I'm not understanding—I haven't used this feature before.
Thank you for your answer. I definitely looks right on your screen shots, but I can't get it to work here. The text box with very large corner radius just doesn't work. If I set the radius to 200 it still looks like this.
I don't know if you do it differently, I am not familiar with Liquid Layout at all. Maybe I would need a step by step to try it 🙂
Interesting. Well here's what I did:
1. draw text box
2. type "TEXT" in it
3. applied magenta colour to box, white to text
4. center text horizontally and vertically
5. go to menu Object > Corner Options...
6. select round corner profile
7. type large value (I used 40mm) in radius (all 4 corners are linked)
That's it. Nothing special.
I just tried it in Indesign 22 and it works. But in ID19 it doesn't. I guess the maximum radius is larger in ID22.
Unfortunately I have to use ID19 for my project.
Thanks for your input.
Hi @tinakruse, no worries. I didn't realise older versions handled this differently, as @Laubender mentions. (Also minor confusion: Indesign 2019 is version 14, and Indesign 2022 is version 17—there is no v19 or v22 yet.)
You mention you are building a template for an online system. I'm not sure what that means exactly but if it means you are generating html/css at some point, it is likely to be very easy to add the appropriate css to round the corners at that stage. Just another thought.
with InDesign versions older than InDesign 2020 I can see a different shape with the same radius values, but I can see no issues with different shapes when the text grows larger. Could you attach a sample InDesign document where you see this?
( ACP )
inspected your InDesign document.
There are two kind of shapes. The ones where the rounded corners actually were converted to the text frame's path and the ones where the rounded corners are not converted. In principle the ones where the rounded corners are not converted to paths are the ones you could safely use with auto width.
One solution for your issue with the shape of the rounded corners could be to construct the text frames perhaps ten times as big as you need them. And then scale the frame back to 10 % with the following InDesign preferences enabled:
General > Object Editing > When Scaling: Adjust Scaling Percentage
( ACP )
It could actually work like that - not a 100% but close.
Another issue: With rounded corners intact ( not converted to paths ) your rounded corners will never follow exactly the shape of an arc of a circle. Not with InDesign 2019 and below. This bug was fixed with InDesign 2020.
If you decide to work with rounded corners converted to paths you should disable auto width of the frame and you should change the width of the frame by using the Direct Selection tool to select all path points either on the left or on the right of the text frame and then move the selected path points.
( ACP )
As it is a template for an online system I have to use the auto width option, so your previous solution is probably the best way.