Page 1 of 1

LuaGuiElement (textbox/textfield) with icon-selector

Posted: Wed Dec 09, 2020 7:12 pm
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.