[Greater-commits] r3578 - trunk/GREAT-ER/Greater/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 14 15:25:52 CEST 2011
Author: aheinecke
Date: 2011-07-14 15:25:52 +0200 (Thu, 14 Jul 2011)
New Revision: 3578
Modified:
trunk/GREAT-ER/Greater/UI/mainwindow.py
Log:
Raise default display size
Modified: trunk/GREAT-ER/Greater/UI/mainwindow.py
===================================================================
--- trunk/GREAT-ER/Greater/UI/mainwindow.py 2011-07-14 12:58:15 UTC (rev 3577)
+++ trunk/GREAT-ER/Greater/UI/mainwindow.py 2011-07-14 13:25:52 UTC (rev 3578)
@@ -16,6 +16,7 @@
# $Id: mainwindow.py,v 1.43 2003/10/07 10:28:50 frank Exp $
from wxPython.wx import *
+import wx
import sys
import os
@@ -67,6 +68,8 @@
self.prev_session_open = None
self.prev_results_exist = None
+ displaySize = wx.GetDisplaySize()
+ self.SetSize(wxSize(displaySize[0] * 0.75, displaySize[1] * 0.75))
EVT_IDLE(self, self.OnIdle)
def OnIdle(self, event):
More information about the Greater-commits
mailing list