Menu
Home
Help
Search
Login
Register
1 Hour
1 Day
1 Week
1 Month
Forever
The International Simutrans Forum
»
Development
»
Patches & Projects
»
Incorporated Patches and Solved Bug Reports
(Moderator:
Dwachs
) »
Topic:
The posbutton on the message window is considered as fixed width
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: The posbutton on the message window is considered as fixed width (Read 316 times)
0 Members and 1 Guest are viewing this topic.
Ranran
Devotee
Posts: 1412
Languages: ja
The posbutton on the message window is considered as fixed width
«
on:
October 27, 2020, 09:19:17 AM »
The posbutton on the message window is considered as fixed width.
So if the theme has a posbutton image larger than 12px it will overlap the text.
The relevant part of the code is as follows:
https://github.com/aburch/simutrans/blob/472d8fde95f2836213cf3a7efc2c6360d743a687/gui/message_stats_t.cc#L226
https://github.com/aburch/simutrans/blob/472d8fde95f2836213cf3a7efc2c6360d743a687/gui/message_stats_t.cc#L254
Logged
Yona-TYT
Devotee
Posts: 1532
Languages: ES
Re: The posbutton on the message window is considered as fixed width
«
Reply #1 on:
October 27, 2020, 11:25:31 AM »
This is the only list that still has this problem, I suppose it is because the message center window was never optimized so that the components would align automatically.
Logged
Dwachs
DevTeam, Coder/patcher
Administrator
Posts: 4821
Languages: EN, DE, AT
Re: The posbutton on the message window is considered as fixed width
«
Reply #2 on:
October 31, 2020, 12:00:08 PM »
should be better with r9347
Logged
Yona-TYT
Devotee
Posts: 1532
Languages: ES
Re: The posbutton on the message window is considered as fixed width
«
Reply #3 on:
October 31, 2020, 02:24:24 PM »
Quote from: Dwachs on October 31, 2020, 12:00:08 PM
should be better with r9347
Very happy to hear that, as soon as I got home I tried it.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
The International Simutrans Forum
»
Development
»
Patches & Projects
»
Incorporated Patches and Solved Bug Reports
(Moderator:
Dwachs
) »
Topic:
The posbutton on the message window is considered as fixed width