diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-02-17 16:39:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-02-17 16:39:50 (GMT) |
commit | 617b9dfcb9b3487d73240050e630c7fc86d48c8c (patch) | |
tree | d848585a00b7ddc311c98bcee6fa3eb8325817a9 /src/rhlibrary | |
parent | cbd775783166856e5c5aef26c6959e8df5142816 (diff) |
set window position to center on init
Diffstat (limited to 'src/rhlibrary')
-rw-r--r-- | src/rhlibrary/app_window.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhlibrary/app_window.go b/src/rhlibrary/app_window.go index d6a428d..a863acc 100644 --- a/src/rhlibrary/app_window.go +++ b/src/rhlibrary/app_window.go @@ -105,6 +105,7 @@ func NewAppWindow(db *rddb.DBChan, player *player.PlayerChan, width, height int) frame.Add(grid) aw.win.Add(frame) + aw.win.SetPosition(gtk.WIN_POS_CENTER) aw.win.SetDefaultSize(width, height) return } |