Currently, when changing styles during runtime, we have nice convenient attributes on LuaStyle where we can change multiple of the directions (top, right, bottom, left) in one line, simply using .padding and .margin (and even .cell_padding!).
It would be swell if we could have the same kind of attribute to set 'extra_margin_when_activated' and 'extra_padding_when_activated' in the same way.
Add LuaStyle.extra_[margin/padding]_when_activated
Re: Add LuaStyle.extra_[margin/padding]_when_activated
1.1 changelog wrote:Added LuaStyle::extra_margin_when_activated and extra_padding_when_activated write, which also accept arrays of values.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.