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

This subforum contains all the issues which we already resolved.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

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

Post 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 1026 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 1026 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.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

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

Post 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 959 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16049
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”