The International Simutrans Forum

 

Author Topic: [GUI] Message center and message center option Windows  (Read 1195 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1730
    • Simutrans-BLOG
  • Languages: ES
[GUI] Message center and message center option Windows
« 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.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10822
  • Languages: De,EN,JP
Re: [GUI] Message center and message center option Windows
« Reply #1 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).

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10822
  • Languages: De,EN,JP
Re: [GUI] Message center and message center option Windows
« Reply #2 on: April 24, 2020, 01:25:41 PM »
Hacked the message option into new gui format in r9045

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1730
    • Simutrans-BLOG
  • Languages: ES
Re: [GUI] Message center and message center option Windows
« Reply #3 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".

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10822
  • Languages: De,EN,JP
Re: [GUI] Message center and message center option Windows
« Reply #4 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.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1730
    • Simutrans-BLOG
  • Languages: ES
Re: [GUI] Message center and message center option Windows
« Reply #5 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10822
  • Languages: De,EN,JP
Re: [GUI] Message center and message center option Windows
« Reply #6 on: April 28, 2020, 03:39:36 PM »
Impossible, since these are a single graphic.