mrmotionblur Posted April 7, 2017 Share Posted April 7, 2017 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. OlgaAcroro 1 Quote Link to comment Share on other sites More sharing options...
Aammppaa Posted April 7, 2017 Share Posted April 7, 2017 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!) Quote Win10 Home x64 | AMD Ryzen 7 2700X @ 3.7GHz | 48 GB RAM | 1TB SSD | nVidia GTX 1660 | Wacom Intuos Pro Link to comment Share on other sites More sharing options...
mrmotionblur Posted April 7, 2017 Author Share Posted April 7, 2017 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. Quote Link to comment Share on other sites More sharing options...
Alfred Posted April 7, 2017 Share Posted April 7, 2017 Does the font include non-breaking spaces? They should be treated just like visible characters. Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
mrmotionblur Posted April 7, 2017 Author Share Posted April 7, 2017 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... Quote Link to comment Share on other sites More sharing options...
mrmotionblur Posted April 7, 2017 Author Share Posted April 7, 2017 First thought option + space was a non breaking space, but it is equivalent to a tab.. How would I get a space that is treated as visible character on the Mac? Quote Link to comment Share on other sites More sharing options...
mrmotionblur Posted April 7, 2017 Author Share Posted April 7, 2017 Haha, I have a workaround... I now type some spaces and a dot. Set the color of the dot to transparent. Ugly, but it works. Quote Link to comment Share on other sites More sharing options...
Fixx Posted April 7, 2017 Share Posted April 7, 2017 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.) Quote Link to comment Share on other sites More sharing options...
tulukaruk Posted July 6, 2017 Share Posted July 6, 2017 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. Quote Link to comment Share on other sites More sharing options...
nezumi Posted August 15, 2018 Share Posted August 15, 2018 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 I am adding it for a reason DanM 1 Quote Link to comment Share on other sites More sharing options...
tulukaruk Posted November 18, 2022 Share Posted November 18, 2022 in v2 it's even worse. Tabs changes text align to left 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.