Allow inserting LuaGuiElement to specified position

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
tux_mark_5
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Thu Jan 15, 2015 2:20 pm
Contact:

Allow inserting LuaGuiElement to specified position

Post by tux_mark_5 »

Right now LuaGuiElement.add inserts newly created child elements at the end of the parent.
It would be nice if there was a way to control where newly created elements are inserted.

This would be especially useful when implementing tables, whose contents can change dynamically.
Right now it seems that you have to clear and recreate the entire table contents just to insert a new row somewhere in the middle.

Post Reply

Return to “Modding interface requests”