LuaGuiElement (textbox/textfield) with icon-selector

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
JonnyBoss
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 09, 2020 6:47 pm
Contact:

LuaGuiElement (textbox/textfield) with icon-selector

Post by JonnyBoss »

The title pretty much says it.

I was looking into creating a textfield with the new vanilla icon-selector, so I could use it in some of my favorite mods, but i didn't find any obvious way to do it.
I guess a boolean like

Code: Select all

has_icon_selector = false
would be great. It would obviously conflict with numeric textfields therefore false should be the default value, that way we don't break any existing mods.

Post Reply

Return to “Modding interface requests”