[Greater-commits] r3614 - trunk/GREAT-ER/Thuban/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jul 18 16:59:07 CEST 2011
Author: aheinecke
Date: 2011-07-18 16:59:06 +0200 (Mon, 18 Jul 2011)
New Revision: 3614
Modified:
trunk/GREAT-ER/Thuban/UI/identifyview.py
Log:
Change the default size of the identifydialog to make it
the same as the labeldialog. Again use the dialog size to
set the size since the list is set to autofill / expand
Modified: trunk/GREAT-ER/Thuban/UI/identifyview.py
===================================================================
--- trunk/GREAT-ER/Thuban/UI/identifyview.py 2011-07-18 14:28:07 UTC (rev 3613)
+++ trunk/GREAT-ER/Thuban/UI/identifyview.py 2011-07-18 14:59:06 UTC (rev 3614)
@@ -49,7 +49,6 @@
self.list = IdentifyGridCtrl(self)
else:
self.list = IdentifyListCtrl(self, -1)
- self.list.SetSize(wx.Size(305,200))
top_box.Add(self.list, 1, wx.EXPAND|wx.ALL, 4)
box = wx.BoxSizer(wx.HORIZONTAL)
@@ -65,6 +64,7 @@
self.SetSizer(top_box)
top_box.Fit(self)
top_box.SetSizeHints(self)
+ self.SetSize(wx.Size(350, 350))
# Make sure to reflect the current selection.
self.selected_shape(parent.SelectedLayer(), parent.SelectedShapes())
More information about the Greater-commits
mailing list