Adding common GUI elements

Place to get help with not working mods / modding interface.
gmyx
Inserter
Inserter
Posts: 25
Joined: Sun Jul 13, 2014 1:39 pm
Contact:

Adding common GUI elements

Post by gmyx »

I am probably missing something obvious but my searches haven't helped me. I am working on updating the GUI for my mod and wants to add some 'common' elements.

The elements I want to add to my GUI are the 'Logistic Netowork' and 'close' button found in the inserter's GUI.
modq.png
modq.png (34.11 KiB) Viewed 1079 times
Is there any example or documentation on how to add these elements? I assume I have to re-create them myself but can't find any way to add them.

Any help is appreciated!

(Also, if I posted in the wrong section, appologies)
Xorimuth
Filter Inserter
Filter Inserter
Posts: 695
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Adding common GUI elements

Post by Xorimuth »

https://github.com/raiguard/Factorio-Sm ... tyle-Guide at the bottom under 'toolbars' may be of interest.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
gmyx
Inserter
Inserter
Posts: 25
Joined: Sun Jul 13, 2014 1:39 pm
Contact:

Re: Adding common GUI elements

Post by gmyx »

Thanks! I'm reading it now and definitely where I want to go!

Also love the library that it suggests, will make updating the UI much faster.
Post Reply

Return to “Modding help”