The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on March 08, 2020, 10:58:46 PM

Title: [GUI] Message center and message center option Windows
Post by: Yona-TYT on March 08, 2020, 10:58:46 PM


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

(https://www.mediafire.com/convkey/1642/xjoachsvjniewv96g.jpg)
Title: Re: [GUI] Message center and message center option Windows
Post by: prissi on March 09, 2020, 01:26:37 AM
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).
Title: Re: [GUI] Message center and message center option Windows
Post by: prissi on April 24, 2020, 01:25:41 PM
Hacked the message option into new gui format in r9045
Title: Re: [GUI] Message center and message center option Windows
Post by: Yona-TYT on April 24, 2020, 09:09:15 PM
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".
Title: Re: [GUI] Message center and message center option Windows
Post by: prissi on April 25, 2020, 12:39:02 PM
As expected, utf8 troubles, since char defautls to signed char. Explicit casting to unsigned in r9052 removes this.
Title: Re: [GUI] Message center and message center option Windows
Post by: Yona-TYT on April 28, 2020, 05:08:05 AM
As 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.
(https://scontent.fccs2-1.fna.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/94919747_2877231542353978_7544666047530401792_n.jpg?_nc_cat=107&_nc_sid=110474&efg=eyJpIjoiYiJ9&_nc_ohc=VVakiEbx4RUAX_d0YlL&_nc_ht=scontent.fccs2-1.fna&_nc_tp=14&oh=6f4defba80c85df33f67b5f6d4e5bbc4&oe=5ECE3592)
Title: Re: [GUI] Message center and message center option Windows
Post by: prissi on April 28, 2020, 03:39:36 PM
Impossible, since these are a single graphic.