--- a/controls/LocationCellEditor.py Sun Jul 08 17:48:38 2012 +0200
+++ b/controls/LocationCellEditor.py Fri Jul 13 12:27:05 2012 +0200
@@ -40,12 +40,13 @@
main_sizer.AddGrowableRow(0)
# create location text control
- self.Location = wx.TextCtrl(self, style=wx.TE_PROCESS_ENTER)
+ self.Location = wx.TextCtrl(self, size=wx.Size(0, -1),
+ style=wx.TE_PROCESS_ENTER)
self.Location.Bind(wx.EVT_KEY_DOWN, self.OnLocationChar)
main_sizer.AddWindow(self.Location, flag=wx.GROW)
# create browse button
- self.BrowseButton = wx.Button(self, label='...', size=wx.Size(30, 0))
+ self.BrowseButton = wx.Button(self, label='...', size=wx.Size(30, -1))
self.BrowseButton.Bind(wx.EVT_BUTTON, self.OnBrowseButtonClick)
main_sizer.AddWindow(self.BrowseButton, flag=wx.GROW)