Allow setting number on choose-elem-button

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Sharparam
Burner Inserter
Burner Inserter
Posts: 19
Joined: Sat Mar 25, 2023 11:21 pm
Contact:

Allow setting number on choose-elem-button

Post by Sharparam »

Currently there is no way to display a number/label on a choose-elem-button. This is needed e.g. for making a custom combinator GUI where you can select signals and they also have a count associated with them which needs to be displayed (just like a vanilla constant combinator).

Currently you can work around this issue by making your own label inside the button, but this is a hack and it's far from ideal (the text is sometimes truncated when too long for example, something that doesn't happen with vanilla GUI buttons).

(This is related to viewtopic.php?f=28&t=122689 but for the opposite case basically.)
Post Reply

Return to “Modding interface requests”