Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat text doesn't fit the screen in 640x480 #3798

Closed
DorpsGek opened this issue Apr 26, 2010 · 5 comments
Closed

Chat text doesn't fit the screen in 640x480 #3798

DorpsGek opened this issue Apr 26, 2010 · 5 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Samu opened the ticket and wrote:

When writting a long message in chat, it doesn't correctly split into several lines. Part of it becomes hidden past the right side of the screen. See screenshot for an example.

Attachments

Reported version: 1.0.0
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3798
@DorpsGek
Copy link
Member Author

Lusankya wrote:

Ricardo, can you post your openttd.cfg file? It would appear that the network_chat_box_width parameter is set higher than your horizontal resolution. I'm still learning my way around the source, but it appears to be a static config variable set at 700px wide.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3798#comment7947

@DorpsGek
Copy link
Member Author

Samu wrote:

Sure, here it is.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3798#comment7950

@DorpsGek
Copy link
Member Author

Lusankya wrote:

Just as I thought, it's set statically at 700. I'll knock together a diff that fixes this; in the meantime, you can make your install work properly by replacing the "network_chat_box_width = 700" line (under [gui]) with "network_chat_box_width = 600".


This comment was imported from FlySpray: https://bugs.openttd.org/task/3798#comment7951

@DorpsGek
Copy link
Member Author

Rubidium wrote:

"set statically" sounds wrong. It is true that 700 is the default and that reducing that default might be good to make it work with 640x480 too, however that doesn't solve the problem for when you're using e.g. 480x640 (think of mobile devices). Though mobile devices aren't really supported by us.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3798#comment7952

@DorpsGek
Copy link
Member Author

DorpsGek commented May 2, 2010

Rubidium closed the ticket.

Reason for closing: Fixed

In r19751; that is, the default has been reduced. It won't fix your case unless you remove your config file so it takes over the new default.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3798

@DorpsGek DorpsGek closed this as completed May 2, 2010
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant