Changeset 08ba57d in sasview for sansview/perspectives/fitting
- Timestamp:
- Sep 15, 2009 11:41:20 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:
- f5dadd5
- Parents:
- ad8f0d0
- Location:
- sansview/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rad8f0d0 r08ba57d 227 227 228 228 def set_scroll(self): 229 self.SetScrollbars(20,20,2 00,100)229 self.SetScrollbars(20,20,25,65) 230 230 self.Layout() 231 231 self.SetAutoLayout(True) … … 317 317 self.sizer4.Layout() 318 318 self.Layout() 319 self.SetScrollbars(20,20,2 00,100)319 self.SetScrollbars(20,20,25,65) 320 320 self.Refresh() 321 321 ## saving the state of enable dispersity button … … 999 999 items = self.structurebox.GetItems() 1000 1000 self.sizer1.Layout() 1001 self.SetScrollbars(20,20,2 00,100)1001 self.SetScrollbars(20,20,25,65) 1002 1002 for i in range(len(items)): 1003 1003 if items[i]== str(name): … … 1203 1203 sizer.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 1204 1204 sizer.Layout() 1205 self.SetScrollbars(20,20,2 00,100)1205 self.SetScrollbars(20,20,25,65) 1206 1206 1207 1207 … … 1252 1252 self.Layout() 1253 1253 self.Refresh() 1254 self.SetScrollbars(20,20,2 00,100)1254 self.SetScrollbars(20,20,25,65) 1255 1255 1256 1256 def _populate_box(self, combobox, list): … … 1315 1315 self.sizer4.Layout() 1316 1316 self.Layout() 1317 self.SetScrollbars(20,20,2 00,100)1317 self.SetScrollbars(20,20,25,65) 1318 1318 self.Refresh() 1319 1319 … … 1449 1449 self.Layout() 1450 1450 self.Refresh() 1451 self.SetScrollbars(20,20,2 00,100)1451 self.SetScrollbars(20,20,25,65) 1452 1452 1453 1453 … … 1469 1469 self.sizer4_4.Layout() 1470 1470 self.sizer4.Layout() 1471 self.SetScrollbars(20,20,2 00,100)1471 self.SetScrollbars(20,20,25,65) 1472 1472 1473 1473 … … 1498 1498 self.Layout() 1499 1499 self.Refresh() 1500 self.SetScrollbars(20,20,2 00,100)1500 self.SetScrollbars(20,20,25,65) 1501 1501 return 1502 1502 if (len(self.disp_cb_dict)>0) : … … 1518 1518 self.sizer4.Layout() 1519 1519 self.Layout() 1520 self.SetScrollbars(20,20,2 00,100)1520 self.SetScrollbars(20,20,25,65) 1521 1521 self.Refresh() 1522 1522 … … 1550 1550 self.sizer4.Layout() 1551 1551 self.Layout() 1552 self.SetScrollbars(20,20,2 00,100)1552 self.SetScrollbars(20,20,25,65) 1553 1553 self.Refresh() 1554 1554 … … 1611 1611 self.sizer4_4.Layout() 1612 1612 self.sizer4.Layout() 1613 self.SetScrollbars(20,20,2 00,100)1613 self.SetScrollbars(20,20,25,65) 1614 1614 ## save state into 1615 1615 … … 1687 1687 self.sizer5.Layout() 1688 1688 self.Layout() 1689 self.SetScrollbars(20,20,2 00,100)1689 self.SetScrollbars(20,20,25,65) 1690 1690 1691 1691 … … 1715 1715 self.sizer6.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 1716 1716 self.sizer6.Layout() 1717 self.SetScrollbars(20,20,2 00,100)1717 self.SetScrollbars(20,20,25,65) 1718 1718 1719 1719 def on_model_help_clicked(self,event): -
sansview/perspectives/fitting/fitpage.py
r7ad6ff5 r08ba57d 124 124 125 125 self.sizer3.Layout() 126 self.SetScrollbars(20,20,2 00,100)126 self.SetScrollbars(20,20,25,65) 127 127 128 128 … … 464 464 self.sizer4.Layout() 465 465 self.Layout() 466 self.SetScrollbars(20,20,2 00,100)466 self.SetScrollbars(20,20,25,65) 467 467 self.Refresh() 468 468 … … 627 627 self.state.data= data 628 628 self._fill_datainfo_sizer() 629 self.SetScrollbars(20,20,2 00,100)629 self.SetScrollbars(20,20,25,65) 630 630 self.Layout() 631 631 … … 754 754 self.Layout() 755 755 self.Refresh() 756 self.SetScrollbars(20,20,2 00,100)756 self.SetScrollbars(20,20,25,65) 757 757 758 758 … … 1010 1010 if model ==None: 1011 1011 self.sizer3.Layout() 1012 self.SetScrollbars(20,20,2 00,100)1012 self.SetScrollbars(20,20,25,65) 1013 1013 return 1014 1014 ## the panel is drawn using the current value of the fit engine … … 1287 1287 self.Layout() 1288 1288 self.Refresh() 1289 self.SetScrollbars(20,20,2 00,100)1289 self.SetScrollbars(20,20,25,65) 1290 1290 1291 1291 -
sansview/perspectives/fitting/modelpage.py
r1467e1a6 r08ba57d 51 51 self._on_display_description_helper() 52 52 53 self.SetScrollbars(20,20,2 00,100)53 self.SetScrollbars(20,20,25,65) 54 54 self.Refresh() 55 55 … … 285 285 self.sizer4_4.Layout() 286 286 self.sizer4.Layout() 287 self.SetScrollbars(20,20,2 00,100)287 self.SetScrollbars(20,20,25,65) 288 288 289 289 … … 475 475 ##no model avaiable to draw sizer 476 476 self.sizer3.Layout() 477 self.SetScrollbars(20,20,2 00,100)477 self.SetScrollbars(20,20,25,65) 478 478 return 479 479 box_description= wx.StaticBox(self, -1,str("Model Parameters")) … … 611 611 self.sizer3.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 612 612 self.sizer3.Layout() 613 self.SetScrollbars(20,20,2 00,100)613 self.SetScrollbars(20,20,25,65) 614 614 615 615
Note: See TracChangeset
for help on using the changeset viewer.