player.gui.center is below player.gui.screen so the dialogs would appear below UI elements of other mods (that use player.gui.screen).
Also making the (main) frame draggable is nice, so a user could keep it open in a place that works for him.
Additionally, I removed the 'minimize' button as the close button (x) in the title bar matches the Factorio UI a little better.
If you want I can also replace the cancel buttons of the dialogs with a close button in their titlebars?
player.gui.center
is belowplayer.gui.screen
so the dialogs would appear below UI elements of other mods (that useplayer.gui.screen
). Also making the (main) frame draggable is nice, so a user could keep it open in a place that works for him.Additionally, I removed the 'minimize' button as the close button (
x
) in the title bar matches the Factorio UI a little better.If you want I can also replace the cancel buttons of the dialogs with a close button in their titlebars?