Committing the patch by Andrew Bentley from issue #18 which adds a z_index property to widgets. z_index can be used to control the drawing order of widgets (widgets with a lower z_index draw before widgets with a higher z_index).
Committing the patch by Andrew Bentley from issue #18 which adds a z_index property to widgets. z_index can be used to control the drawing order of widgets (widgets with a lower z_index draw before widgets with a higher z_index).

Remwrath/bgui,Moguri/bgui,Moguri/bgui,marcioreyes/bgui