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

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

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

revision 374 by jan, Mon Jan 27 14:20:02 2003 UTC revision 1035 by jan, Mon May 26 17:03:08 2003 UTC
# Line 34  class LabelDialog(wxDialog): Line 34  class LabelDialog(wxDialog):
34          top_box = wxBoxSizer(wxVERTICAL)          top_box = wxBoxSizer(wxVERTICAL)
35    
36          self.list = LabelListCtrl(self, -1, table, shape_index)          self.list = LabelListCtrl(self, -1, table, shape_index)
37            self.list.SetSize(wxSize(305,200))
38          top_box.Add(self.list, 1, wxEXPAND|wxALL, 4)          top_box.Add(self.list, 1, wxEXPAND|wxALL, 4)
39    
40          box = wxBoxSizer(wxHORIZONTAL)          box = wxBoxSizer(wxHORIZONTAL)
# Line 44  class LabelDialog(wxDialog): Line 45  class LabelDialog(wxDialog):
45          EVT_BUTTON(self, wxID_OK, self.OnOK)          EVT_BUTTON(self, wxID_OK, self.OnOK)
46          EVT_BUTTON(self, wxID_CANCEL, self.OnCancel)          EVT_BUTTON(self, wxID_CANCEL, self.OnCancel)
47    
48          self.SetAutoLayout(true)          self.SetAutoLayout(True)
49          self.SetSizer(top_box)          self.SetSizer(top_box)
50          top_box.Fit(self)          top_box.Fit(self)
51          top_box.SetSizeHints(self)          top_box.SetSizeHints(self)

Legend:
Removed from v.374  
changed lines
  Added in v.1035

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26