[1.0.0] Incorrect tab width on choose-a-thing GUIs with 5 or 6 tabs

Bugs that are actually features.
Post Reply
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 451
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

[1.0.0] Incorrect tab width on choose-a-thing GUIs with 5 or 6 tabs

Post by raiguard »

This has been bothering me since March, but for some reason I never reported it, and apparently nobody else has either that I've been able to find.

With choose-a-thing GUIs (for example, the recipe / item selector in the controller GUI), a single row of five or six tabs will leave a gap at the right side, instead of taking up all of the available space:
2020-10-30 01_10_42-Factorio 1.0.0.png
2020-10-30 01_10_42-Factorio 1.0.0.png (124.67 KiB) Viewed 494 times
This problem goes away once there is more than one row.

It might make the most sense (and allow for cleaner code) if the category buttons were always buttons instead of changing between buttons and tabs. Then this issue wouldn't be relevant anymore, and the coloring of the selected category would be consistent.
Don't forget, you're here forever.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [1.0.0] Incorrect tab width on choose-a-thing GUIs with 5 or 6 tabs

Post by kovarex »

Well, it is not really incorect, we want to prefer tab as much as possible, and with 5 tabs, this is how it kind of ends up.

Post Reply

Return to “Not a bug”