|
@@ -1238,8 +1238,6 @@ class MapLayersDialogBase(wx.Dialog):
|
|
|
|
|
|
def _createDialogBody(self):
|
|
|
bodySizer = wx.GridBagSizer(vgap = 3, hgap = 3)
|
|
|
- bodySizer.AddGrowableCol(1)
|
|
|
- bodySizer.AddGrowableRow(3)
|
|
|
|
|
|
# layer type
|
|
|
bodySizer.Add(item = wx.StaticText(parent = self, label = _("Map type:")),
|
|
@@ -1302,6 +1300,8 @@ class MapLayersDialogBase(wx.Dialog):
|
|
|
flag = wx.EXPAND,
|
|
|
pos = (3,1), span = (1, 2))
|
|
|
|
|
|
+ bodySizer.AddGrowableCol(1)
|
|
|
+ bodySizer.AddGrowableRow(3)
|
|
|
# bindings
|
|
|
self.mapset.Bind(wx.EVT_COMBOBOX, self.OnChangeParams)
|
|
|
self.layers.Bind(wx.EVT_RIGHT_DOWN, self.OnMenu)
|