Changeset 9170547 in sasview
- Timestamp:
- Oct 13, 2009 10:21:59 AM (15 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:
- 860afc1
- Parents:
- 0686c4d6
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rabf2d75 r9170547 17 17 _QMAX_DEFAULT = 0.13 18 18 _NPTS_DEFAULT = 50 19 #Control panel width 20 if sys.platform.count("win32")>0: 21 PANEL_WIDTH = 420 22 else: 23 PANEL_WIDTH = 490 24 19 25 class BasicPage(wx.ScrolledWindow): 20 26 """ … … 236 242 self.sizer6 = wx.BoxSizer(wx.VERTICAL) 237 243 238 self.sizer0.SetMinSize(( 375,-1))239 self.sizer1.SetMinSize(( 375,-1))240 self.sizer2.SetMinSize(( 375,-1))241 self.sizer3.SetMinSize(( 375,-1))242 self.sizer4.SetMinSize(( 375,-1))243 self.sizer5.SetMinSize(( 375,-1))244 self.sizer0.SetMinSize((PANEL_WIDTH,-1)) 245 self.sizer1.SetMinSize((PANEL_WIDTH,-1)) 246 self.sizer2.SetMinSize((PANEL_WIDTH,-1)) 247 self.sizer3.SetMinSize((PANEL_WIDTH,-1)) 248 self.sizer4.SetMinSize((PANEL_WIDTH,-1)) 249 self.sizer5.SetMinSize((PANEL_WIDTH,-1)) 244 250 #self.sizer6.SetMinSize((375,-1)) 245 251 … … 1286 1292 if object !=None: 1287 1293 boxsizer1.Add( (-72,-72)) 1288 boxsizer1.Add( object, 0, wx.ALIGN_RIGHT| wx.RIGHT, 10)1294 boxsizer1.Add( object, 0, wx.ALIGN_RIGHT| wx.RIGHT, 40) 1289 1295 boxsizer1.Add( (60,60)) 1290 1296 #-------------------------------------------------------- … … 1367 1373 self.disp_cb_dict ={} 1368 1374 f_id = self.formfactorbox.GetCurrentSelection() 1375 1369 1376 form_factor = self.formfactorbox.GetClientData( f_id ) 1370 1377 if not form_factor in self.model_list_box["multiplication"]: -
sansview/perspectives/fitting/fitpage.py
r52cac46 r9170547 154 154 155 155 sizer_fit.Add((5,5),1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 156 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5)156 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 35) 157 157 158 158 sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) … … 170 170 171 171 #Display Chi^2/dof 172 sizer_smearer.Add(( 68,10))172 sizer_smearer.Add((90,10)) 173 173 box_description= wx.StaticBox(self, -1,'Chi2/dof') 174 174 boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 175 boxsizer1.SetMinSize(( 60,-1))175 boxsizer1.SetMinSize((80,-1)) 176 176 temp_smearer = None 177 177 if self.enable_smearer.GetValue():
Note: See TracChangeset
for help on using the changeset viewer.