Changeset 0912feab in sasview
- Timestamp:
- Jan 25, 2011 7:46:47 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:
- 7a67e075
- Parents:
- 52b8b74
- Location:
- sansview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
rc26a64b r0912feab 257 257 loader.associate_file_reader(".fitv", self.state_reader) 258 258 loader.associate_file_reader(".svs", self.state_reader) 259 259 from sans.perspectives.calculator.sld_panel import SldPanel 260 260 #Send the fitting panel to guiframe 261 self.mypanels.append(self.fit_panel) 261 self.mypanels.append(self.fit_panel) 262 self.mypanels.append(SldPanel(parent=self.parent, base=self.parent)) 262 263 return self.mypanels 263 264 -
sansview/sansview.py
r3658abed r0912feab 22 22 23 23 from sans.guiframe import gui_manager 24 from sans.guiframe.gui_style import GUIFRAME 24 25 from welcome_panel import WelcomePanel 25 26 # For py2exe, import config here … … 30 31 APP_HEIGHT = 800 31 32 APP_WIDTH = 1000 32 33 GSTYLE = GUIFRAME.MULTIPLE_APPLICATIONS 33 34 class SansViewApp(gui_manager.ViewApp): 34 35 """ … … 41 42 app_width = APP_WIDTH if screen_size[0]>APP_WIDTH else screen_size[0]-50 42 43 43 self.frame = gui_manager.ViewerFrame(None, -1, local_config.__appname__, 44 window_height=app_height, window_width=app_width) 44 self.frame = gui_manager.ViewerFrame(None, -1, 45 local_config.__appname__, 46 gui_style=GSTYLE, 47 window_height=app_height, 48 window_width=app_width) 45 49 self.frame.Show(True) 46 50
Note: See TracChangeset
for help on using the changeset viewer.