From 617b9dfcb9b3487d73240050e630c7fc86d48c8c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 17 Feb 2016 17:39:50 +0100 Subject: set window position to center on init 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 } -- cgit v0.10.2