Page 1 of 1

Adding common GUI elements

Posted: Sun Sep 06, 2020 5:57 pm
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 1082 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)

Re: Adding common GUI elements

Posted: Sun Sep 06, 2020 6:14 pm
by Xorimuth
https://github.com/raiguard/Factorio-Sm ... tyle-Guide at the bottom under 'toolbars' may be of interest.

Re: Adding common GUI elements

Posted: Sun Sep 06, 2020 7:59 pm
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.