/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/legend.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/legend.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 665 by jonathan, Mon Apr 14 16:35:19 2003 UTC revision 668 by jonathan, Mon Apr 14 17:12:57 2003 UTC
# Line 77  class LegendPanel(DockPanel): Line 77  class LegendPanel(DockPanel):
77              shortHelpString=_("Edit Layer Properties"))              shortHelpString=_("Edit Layer Properties"))
78    
79          self.toolBar.Realize()          self.toolBar.Realize()
80          panelBox.Add(self.toolBar, 0, wxALL, 0)          panelBox.Add(self.toolBar, 0, wxGROW, 0)
81    
82          EVT_TOOL(self, ID_LEGEND_RAISE, self._OnMoveUp)          EVT_TOOL(self, ID_LEGEND_RAISE, self._OnMoveUp)
83          EVT_TOOL(self, ID_LEGEND_LOWER, self._OnMoveDown)          EVT_TOOL(self, ID_LEGEND_LOWER, self._OnMoveDown)
# Line 89  class LegendPanel(DockPanel): Line 89  class LegendPanel(DockPanel):
89    
90          panelBox.Add(self.tree, 1, wxGROW, 0)          panelBox.Add(self.tree, 1, wxGROW, 0)
91    
         #panelBox.Fit(self)  
   
92          self.SetAutoLayout(True)          self.SetAutoLayout(True)
93          self.SetSizer(panelBox)          self.SetSizer(panelBox)
94          panelBox.SetSizeHints(self)          panelBox.SetSizeHints(self)

Legend:
Removed from v.665  
changed lines
  Added in v.668

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26