Changeset 64f9fa6 in sasview
- Timestamp:
- Oct 15, 2011 5:45:41 PM (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:
- 108470e6
- Parents:
- 9a56619
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
rcd2209d r64f9fa6 152 152 self.layout_selection() 153 153 self.layout_data_list() 154 self.layout_batch() 154 155 self.layout_button() 155 self.layout_batch()156 156 157 157 158 def define_panel_structure(self): … … 166 167 self.sizer2 = wx.BoxSizer(wx.VERTICAL) 167 168 self.sizer3 = wx.FlexGridSizer(7, 2, 4, 1) 168 self.sizer4 = wx.BoxSizer(wx. HORIZONTAL)169 self.sizer4 = wx.BoxSizer(wx.VERTICAL) 169 170 self.sizer5 = wx.BoxSizer(wx.VERTICAL) 170 171 … … 173 174 self.vbox.Add(self.sizer2, 0, wx.EXPAND|wx.ALL,1) 174 175 self.vbox.Add(self.sizer3, 0, wx.EXPAND|wx.ALL,10) 175 self.vbox.Add(self.sizer4, 0, wx.EXPAND|wx.ALL,5)176 #self.vbox.Add(self.sizer4, 0, wx.EXPAND|wx.ALL,5) 176 177 177 178 self.SetSizer(self.vbox) … … 263 264 self.perspective_cbox = wx.ComboBox(self, -1, 264 265 style=wx.CB_READONLY) 265 #self.perspective_cbox.SetMinSize((CBOX_WIDTH, -1))266 self.perspective_cbox.SetMinSize((BUTTON_WIDTH*1.6, -1)) 266 267 wx.EVT_COMBOBOX(self.perspective_cbox,-1, 267 268 self._on_perspective_selection) … … 292 293 self.cb_plotpanel = wx.ComboBox(self, -1, 293 294 style=wx.CB_READONLY|wx.CB_SORT) 294 #self.cb_plotpanel.SetMinSize(( CBOX_WIDTH, -1))295 #self.cb_plotpanel.SetMinSize((BUTTON_WIDTH*2, -1)) 295 296 wx.EVT_COMBOBOX(self.cb_plotpanel,-1, self._on_plot_selection) 296 297 self.cb_plotpanel.Disable() … … 306 307 (self.bt_append_plot), 307 308 (self.cb_plotpanel, wx.EXPAND|wx.ADJUST_MINSIZE, 5), 309 ((5, 5)), 310 ((5, 5)), 311 (self.bt_import, 0, wx.EXPAND|wx.RIGHT, 5), 312 (self.perspective_cbox, wx.EXPAND|wx.ADJUST_MINSIZE, 5), 308 313 ((10, 10)), 309 ( (10, 10)),310 ( self.bt_import, 0, wx.EXPAND|wx.RIGHT, 5),311 ( self.perspective_cbox, wx.EXPAND|wx.ADJUST_MINSIZE, 5)])314 (self.sizer4), 315 ((10, 40)), 316 ((10, 40))]) 312 317 313 318 self.sizer3.AddGrowableCol(1, 1) … … 333 338 self.rb_single_mode.SetValue(not self.parent.batch_on) 334 339 self.rb_batch_mode.SetValue(self.parent.batch_on) 335 self.sizer4.AddMany([((5, 5)), 336 (self.rb_single_mode,0, wx.ALL,5), 337 (self.rb_batch_mode,0, wx.ALL,5), 338 (20,80)]) 340 self.sizer4.AddMany([(self.rb_single_mode,0, wx.ALL, 4), 341 (self.rb_batch_mode,0, wx.ALL, 4)]) 339 342 340 343 def on_single_mode(self, event):
Note: See TracChangeset
for help on using the changeset viewer.