[Thuban-commits] r2899 - trunk/thuban/Thuban/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jul 15 14:06:20 CEST 2011
Author: bricks
Date: 2011-07-15 14:06:19 +0200 (Fri, 15 Jul 2011)
New Revision: 2899
Modified:
trunk/thuban/Thuban/UI/labeldialog.py
Log:
Change the Layout to have a larger default size (350x350) and remove
the size setting from the LabelListCtrl since the list is automatically
expanded to fit the size of the dialog anyway.
Modified: trunk/thuban/Thuban/UI/labeldialog.py
===================================================================
--- trunk/thuban/Thuban/UI/labeldialog.py 2011-07-15 12:03:40 UTC (rev 2898)
+++ trunk/thuban/Thuban/UI/labeldialog.py 2011-07-15 12:06:19 UTC (rev 2899)
@@ -38,7 +38,6 @@
top_box = wx.BoxSizer(wx.VERTICAL)
self.list = LabelListCtrl(self, -1, table, shape_index)
- self.list.SetSize(wx.Size(305,200))
top_box.Add(self.list, 1, wx.EXPAND|wx.ALL, 4)
box = wx.BoxSizer(wx.HORIZONTAL)
@@ -53,6 +52,7 @@
self.SetSizer(top_box)
top_box.Fit(self)
top_box.SetSizeHints(self)
+ self.SetSize(wx.Size(350, 350))
def OnOK(self, event):
result = self.list.GetValue()
More information about the Thuban-commits
mailing list