ProgressBarStyleSpecification::bar_width is confusingly named

User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 156
Joined: Wed Jan 18, 2023 3:49 am
Contact:

ProgressBarStyleSpecification::bar_width is confusingly named

Post by PennyJim »

So please at least add a description to it (and the LuaStyle) to indicate that it's the progress bar's "thickness" instead.

I only figured it out after looking at the base game's code comments. I spent too long not looking at the base progress bar style because I was trying to make it mimic another element so I could use it's runtime re-colorability and could not figure out why it wasn't displaying the shadow or bottom gradient.
Bilka
Factorio Staff
Factorio Staff
Posts: 3697
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: ProgressBarStyleSpecification::bar_width is confusingly named

Post by Bilka »

Confusing indeed, description added to the docs for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”