- Timestamp:
- Jan 10, 2011 12:36:38 PM (14 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:
- fc292d3
- Parents:
- 2f60121
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r340c2b3 r015d109 8 8 import math 9 9 import string 10 from sans.guiframe.panel_base import PanelBase 10 11 from wx.lib.scrolledpanel import ScrolledPanel 11 12 from sans.guiframe.utils import format_number,check_float … … 31 32 ON_MAC = True 32 33 33 class BasicPage( wx.ScrolledPanel, PanelBase):34 class BasicPage(ScrolledPanel, PanelBase): 34 35 """ 35 36 This class provide general structure of fitpanel page … … 40 41 window_caption = "Basic page " 41 42 42 def __init__(self, parent, page_info): 43 """ 44 """ 45 wx.ScrolledWindow.__init__(self, parent, 46 style=wx.FULL_REPAINT_ON_RESIZE) 43 def __init__(self, parent, page_info, **kwargs): 44 """ 45 """ 46 ScrolledPanel.__init__(self, parent, **kwargs) 47 47 PanelBase.__init__(self) 48 48 self.SetupScrolling() -
sansview/perspectives/fitting/fitpage.py
r64bda1e r015d109 2179 2179 if model ==None: 2180 2180 self.sizer3.Layout() 2181 self.Set Scrollbars(20,20,25,65)2181 self.SetupScrolling() 2182 2182 return 2183 2183 ## the panel is drawn using the current value of the fit engine … … 2516 2516 self.Layout() 2517 2517 self.Refresh() 2518 self.SetScrollbars(20,20,25,65) 2518 #self.SetScrollbars(20,20,25,65) 2519 self.SetupScrolling() 2519 2520 2520 2521
Note: See TracChangeset
for help on using the changeset viewer.