aliens
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 22, 2024, 10:01:34 pm
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
OpenXcom
»
Troubleshooting
»
Line breaks in long strings
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Line breaks in long strings (Read 4479 times)
Esrael
Sergeant
Posts: 10
Line breaks in long strings
«
on:
May 15, 2014, 08:17:23 am »
Hello,
I have a little suggestion to improve the aesthetics of line breaks in long strings. The problem is that when OpenXcom makes a line break in a long string, it adds the space to the new line instead of the previous line (see pictures) creating an unnecessary indentation. It's not that common in the English version, but a bit more common in the Finnish translation for the strings to wrap to another line, so it would be nice if someone had the time to fix the line breaking rules to include the space at the end of the word preceding the line break.
Thanks a lot for your great work on this marvellous gem, guys!
Logged
Esrael
Sergeant
Posts: 10
Re: Line breaks in long strings
«
Reply #1 on:
May 15, 2014, 08:26:35 am »
Ugh, I just realized I should have probably written this in the bug tracker. >_> I filed the issue there instead, so you can close this thread.
Sorry!
Logged
Snickerdoodle
Sergeant
Posts: 26
Re: Line breaks in long strings
«
Reply #2 on:
May 15, 2014, 11:04:03 am »
No, in this case I have to disagree. The indentation makes it clearer that the text is a continuation of the preceding line, and not a separate line.
Without the indentation, the mods screen would be more confusing.
Logged
kkmic
Commander
Posts: 582
Undefined
Re: Line breaks in long strings
«
Reply #3 on:
May 15, 2014, 11:51:37 am »
Same opinion here. The indentation gives a visual cue that the indented line(s) and the first unindented line above are composing one list element.
Logged
SupSuper
Lazy Developer
Administrator
Commander
Posts: 2162
Re: Line breaks in long strings
«
Reply #4 on:
May 16, 2014, 06:25:19 am »
As I mentioned in the bug tracker, "it's not a bug, it's a feature!".
This was specifically added because people didn't like this:
While unconventional (normally the first line is indented in long texts), this is the only workaround for having distinguishable multi-line rows without messing with the layout.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
OpenXcom
»
Troubleshooting
»
Line breaks in long strings