News:

Want to praise Simutrans?
Your feedback is important for us ;D.

[GUI] Message center and message center option Windows

Started by Yona-TYT, March 08, 2020, 10:58:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT



Hello how are you ?.
There are some details of alignment with large buttons, as seen in the image.  :P r8953.


prissi

Yes, but there is little that can be done about it, because the translation of this is one string. ONe would need to hack it. So it is broken by a bad design decision ages ago (from me).

prissi

Hacked the message option into new gui format in r9045

Yona-TYT

Thank you very much, I am testing this.

The text overflows with long words when another idima is used.

For example "Nuevas Fabricas" is shown cut and covering the space in the next button, in this way "Nuevas F[Line break]bricas".

prissi

As expected, utf8 troubles, since char defautls to signed char. Explicit casting to unsigned in r9052 removes this.

Yona-TYT

Quote from: prissi on April 25, 2020, 12:39:02 PMAs expected, utf8 troubles, since char defautls to signed char. Explicit casting to unsigned in r9052 removes this.
It works very well now, thank you! I did not see your message in time because the notifications are not reaching the mail I am afraid.





A small detail, is it possible to align the icons with the buttons ?, I mean the ones that indicate the type of message that will be displayed.

prissi