Page 1 of 1

[Twinsen][for 0.17][0.16.28] Train station rename list_box is too small.

Posted: Sun Mar 11, 2018 8:05 am
by eradicator
The list of existing train station names when renaming a train station does not adapt its width do the length of station name, unlike the one that lists station names when adding stations to a trains schedule. This makes it difficult to find long station names as they are cut off. It also has significantly less height than its counterpart.
The too small station rename box:
exhibit_b.jpg
exhibit_b.jpg (51.13 KiB) Viewed 1028 times
The station list in train schedule edit mode (would be 2 times taller if i ran the game in fullscreen):
exhibit_a.jpg
exhibit_a.jpg (129.76 KiB) Viewed 1028 times
I tried changing data.raw['gui-style'].default.train_station_list_box.maximal_width, but it has no effect for some reason? minimal_width works to make it wider, but that doesn't make it properly adapt to name length of course.

Re: [Twinsen][for 0.17][0.16.28] Train station rename list_box is too small.

Posted: Thu Mar 15, 2018 11:39 am
by eradicator
If you're going to push this off to 0.17 anyway, Scenario selection and Mod selection suffer similar issues. Might be worth considering usage of linebreaks?
more.jpg
more.jpg (119.95 KiB) Viewed 961 times

Re: [Twinsen][for 0.17][0.16.28] Train station rename list_box is too small.

Posted: Wed Mar 21, 2018 5:10 pm
by Rseding91
I've changed the rename-station GUI listbox to have the same width as the train GUI for the next version of 0.16.