Button with glyph + label or progress?

Place to get help with not working mods / modding interface.
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Button with glyph + label or progress?

Post by aubergine18 »

I'm trying to create a button with both a glyph and a label, or a glyph and a progress (like radial hand crafting progress indicator, not the usual progress bar) but no matter what I try I can't get it to work.

For example, if I add a child label element to a glyph button, the label appears outside the button (same happens when I try adding a label child to a normal button).

And regarding the radial progress indication, I can't seem to get that to work at all (seems the game hardcodes that for exclusive use by hand crafting).

Any ideas or is it time to put in a modding api request?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Post Reply

Return to “Modding help”