Trouble aligning text in sketches

Trouble aligning text in sketches

Anonymous
Not applicable
699 Views
2 Replies
Message 1 of 3

Trouble aligning text in sketches

Anonymous
Not applicable

I'm adding a set of six names to a sketch.  I'm not yet sure how far apart I want them spaced, or how tall I want them, but I know that I want them all on the same line and the same size.  So I created "Equal" constraints on the text height for each one, and also created a "Colinear" constraint for the bottom of each one.  This works great - it lets me adjust the height of all six with one change of the dimension for the first name, and also allows me drag them around sideways freely, but dragging them up/down they all stay aligned.  I'm having one problem though:  It looks like the bounding box for text items is disrupted by having descenders in the text.  E.g. the bottom of the box for "Amber" is higher relative to the baseline than the bottom of the box for "Payton" - if I remove the "y" from "Payton", the bounding box then matches the one for "Amber".

 

Any ideas on how to achieve what I am attempting?  I have tried using the TOP of the bounding box, but I get the same result.

 

 

Accepted solutions (1)
700 Views
2 Replies
Replies (2)
Message 2 of 3

Mike.Grau
Alumni
Alumni
Accepted solution

Hi @Anonymous,


Thank you for your post in the Forum.

I have reconstrained the sketch and used a couple dimensions.

 

Here is the file which I Have created for you.

 

http://a360.co/2jLp9ko

 

I hope this helps.

 

Thanks,

 

Message 3 of 3

TimPaterson
Enthusiast
Enthusiast

How about telling the rest of us what the secret is? Can you describe the solution without making me download someone else's project?