Jump to content
mrmotionblur

Text Right align ignores spaces at the end

Recommended Posts

How can I make the right align of a text frame respect the spaces at the end of a line?

 

 

Right now, if the last characters of a line are spaces, the line is aligned by its last visible character, not the last character of the line.

 

I am trying to indent lines from the right.

 

 

 

Share this post


Link to post
Share on other sites

Don't use spaces (this is bad practice in any application since the size of the space will change as you alter the font, and font size, meaning you have to realign everything!)

 

Instead look in the Paragraph panel, and increase the Right Indent value.

 

Also you can search Help, for 'indent' to see more information (and remember that the Help is you friend!)


Win7 Ultimate x64   |   i5-3570K @ 3.4GHz   |   16 GB RAM   |   120 GB SSD   |   nVidia GTX 660 Ti   |   Huion 1060 Plus

How I make GIFs >>> ScreenToGIF (Windows only, Open Source, Portable, ~600kB)

Share this post


Link to post
Share on other sites

Thanks for your reply. 

 

 

However, this does not achieve what I am trying to do.

Indenting moves all lines to the left. Probably when I am typing a paragraph, and it continues on the next line it will allign to the far right, but I have hard returns, so this won't work.

 

I have a code block of code with mono spaced font, so manual spaces would be no problem in this case.

Normally you would indent a code block from the left, but in this special case I want to indent it from the right.

 

I am just a bit confused by the choice to ignore spaces in the right alignment of text.

 

I will end op setting tabstops I guess... Ah. no, tabs are ignored at the end of the line too.

 

Hmm... I'll work around it by making it a separate text frame, for the line which needs to indent.

Share this post


Link to post
Share on other sites

Does the font include non-breaking spaces? They should be treated just like visible characters.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.1.404 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.1.143 • Designer for iPad 1.7.1.1 • iOS 12.4 (iPad Air 2)

Share this post


Link to post
Share on other sites

That is a good idea. 

 

I experimented with TextEdit which has the exact same behaviour... 

 

I didn't realise that spaces at the end of the line are normally ignored in right alignment.

 

Odd...

Share this post


Link to post
Share on other sites

I have also searched invisible character that could be used for this. So far no luck. Also, while kern can be used in left justify to alter starting point, it does not work right edge (it would be nice though) (also AD cannot kern text out of frame, which is a problem).

I too had to resort also using invisible dot.

 

(Of course space in the end of line is ignored, that is expected behaviour.)

Share this post


Link to post
Share on other sites

Ending space ignored with right align is expected behavior? Certainly not by me.


And not by this forum editor.    


Would be nice to at least have it as an option in Paragraph if not recognized by default with right align.


Share this post


Link to post
Share on other sites

This was killing me today. If I have text aligned to right I expect not only spaces but also tabs to work properly. It should work exactly like reflection of left aligned text. Please kindly fix that. If I am ADDING something I dont want it to be ignored :D I am adding it for a reason ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×