Page 1 of 1
[2.0.14] Tech description too wide sometimes
Posted: Sun Nov 03, 2024 10:16 pm
by Shadow_Man
There used to be a situation where if you had long rich text in a technology description, that text would go outside the frame boundaries or get cut off.
Now it is not cut off and is shown in its entirety, but some particularly long names stretch the window a lot.
Perhaps such long rich text should be moved in its entirety to a new line if it starts stretching the text window.
Re: [2.0.14] Tech description too wide sometimes
Posted: Sun Nov 03, 2024 10:50 pm
by Loewchen
This just seems excessive.
Re: [2.0.14] Tech description too wide sometimes
Posted: Sun Nov 03, 2024 11:17 pm
by Shadow_Man
Loewchen wrote: Sun Nov 03, 2024 10:50 pm
This just seems excessive.
The translation? It's literally word-for-word, not a single extra word.
It is not a translation issue.
There's two things:
1. Words and phrases in Russian are longer than in English.
2. Rich text (text in brackets) apparently counts as 1 character, because it is never moved to the next line. As in this case, when it should be moved, the formatting of the text allows it, there is a space before it, but it is not moved, because if you count it as 1 character, it fits within the window boundaries.
That's why I suggested to calculate the length of the whole text in brackets, and move it to the next line if necessary (whole or by words, if possible).