Changeset e095c3a9 in sasview for sansguiframe/src
- Timestamp:
- Aug 25, 2011 10:05:15 AM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ef4a4ea
- Parents:
- 886657f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
r3603b2e re095c3a9 162 162 self.vbox = wx.BoxSizer(wx.VERTICAL) 163 163 self.sizer1 = wx.BoxSizer(wx.VERTICAL) 164 self.sizer1.SetMinSize( (w/13, h*2/5))164 self.sizer1.SetMinSize(wx.Size(w/13, h*2/5)) 165 165 166 166 self.sizer2 = wx.BoxSizer(wx.VERTICAL) … … 170 170 171 171 self.vbox.Add(self.sizer5, 0, wx.EXPAND|wx.ALL,1) 172 self.vbox.Add(self.sizer1, 0, wx.EXPAND|wx.ALL,0)172 self.vbox.Add(self.sizer1, 1, wx.EXPAND|wx.ALL,0) 173 173 self.vbox.Add(self.sizer2, 0, wx.EXPAND|wx.ALL,1) 174 174 self.vbox.Add(self.sizer3, 0, wx.EXPAND|wx.ALL,5) … … 331 331 self.rb_batch_mode.SetValue(False) 332 332 self.sizer4.AddMany([(self.rb_single_mode,0, wx.ALL,5), 333 (self.rb_batch_mode,0, wx.ALL,5)]) 333 (self.rb_batch_mode,0, wx.ALL,5), 334 (20,80)]) 334 335 335 336 def on_single_mode(self, event): … … 355 356 tree_ctrl_label = wx.StaticText(self, -1, "Data") 356 357 tree_ctrl_label.SetForegroundColour('blue') 357 self.tree_ctrl = DataTreeCtrl(parent=self )358 self.tree_ctrl = DataTreeCtrl(parent=self, style=wx.SUNKEN_BORDER) 358 359 self.tree_ctrl.Bind(CT.EVT_TREE_ITEM_CHECKING, self.on_check_item) 359 360 tree_ctrl_theory_label = wx.StaticText(self, -1, "Theory") 360 361 tree_ctrl_theory_label.SetForegroundColour('blue') 361 self.tree_ctrl_theory = DataTreeCtrl(parent=self) 362 self.tree_ctrl_theory.Bind(CT.EVT_TREE_ITEM_CHECKING, self.on_check_item) 362 self.tree_ctrl_theory = DataTreeCtrl(parent=self, 363 style=wx.SUNKEN_BORDER) 364 self.tree_ctrl_theory.Bind(CT.EVT_TREE_ITEM_CHECKING, 365 self.on_check_item) 363 366 self.sizer1.Add(tree_ctrl_label, 0, wx.LEFT, 10) 364 367 self.sizer1.Add(self.tree_ctrl, 1, wx.EXPAND|wx.ALL, 10)
Note: See TracChangeset
for help on using the changeset viewer.