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!)


Win10 Home x64   |   AMD Ryzen 7 2700X @ 3.7GHz   |   16 GB RAM   |   1TB SSD   |   nVidia GTX 1660   |   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.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.8.3.180 • Designer for iPad 1.8.3.2 • iPadOS 13.5.1 (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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.