OpenTTD

Tasklist

FS#3958 - Display speed in vehicle window without truncation

Attached to Project: OpenTTD
Opened by Pereyaslov Konstantin (perk11) - Saturday, 17 July 2010, 11:02 GMT
Last edited by andythenorth (andythenorth) - Monday, 04 September 2017, 07:01 GMT
Type Feature Request
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

If you make font size larger (and defaults are rather small), in order to see the speed of vehicle after you clicked on it you should make a vehicle window larger. I request it to automatically change size to fit in the whole string "Goes to STATION_NAME, 100 km/h".
This task depends upon

Comment by frosch (frosch) - Saturday, 17 July 2010, 11:16 GMT
The stationname can be very long, so it is not feasible to make the window big enough to fit the longest possible stationame. You likely also do not want vehicle windows to automatically resize on order change.

So I guess what you rather want is, that only the stationname is truncated when the text does not fit, while the speed remains.
Comment by Pereyaslov Konstantin (perk11) - Saturday, 17 July 2010, 13:36 GMT
I agree with frosch
Comment by andythenorth (andythenorth) - Thursday, 31 August 2017, 21:30 GMT
Could probably re-layout the window a little and fix that. The issue occurs frequently enough, and bugs me.
Comment by andythenorth (andythenorth) - Saturday, 02 September 2017, 21:20 GMT
Patch to vehicle_gui.cpp, plus change all the lang strings. Works fine for a 2-line patch for the stations case. I tried to complete the patch, but have asserts, probably because of parameter order.

Loading...