screen navigation:

    # The background of the game menu.
    window:
        style "gm_root"

    # The various buttons.
    frame:
        style_group "gm_nav"
        xalign .98
        yalign .98

        has vbox

        textbutton _("Return") action Return()
        #textbutton _("Debug Menu") action ShowMenu("debug")
        textbutton _("Preferences") action ShowMenu("preferences")
        textbutton _("Save Game") action ShowMenu("save")
        textbutton _("Load Game") action ShowMenu("load")
        textbutton _("Main Menu") action MainMenu()
        #textbutton _("Help") action Help()
        #textbutton _("Quit") action Quit()
        
    #Draw plannersaurus here with stats
    frame:    
        style_group "gm_nav"
        yalign 0.98
        xalign 0.02

        grid 2 1 :
            vbox:
                image ("resource/plannersaurusSmall.png")
            
            vbox:
                label _(myPlayer.getName())
                label _("{image=resource/icons/money.png}: %s" % (myPlayer.getStatAdjective('money')))
                label _("{image=resource/icons/intel.png}: %s" % (myPlayer.getStatAdjective('intelligence')))
                label _("{image=resource/icons/charm.png}: %s" % (myPlayer.getStatAdjective('charm')))

init python:
    style.gm_nav_button.size_group = "gm_nav"
    style.pref_vbox.xmaximum = 250
