Changeset 0fdcd1e in sasview for prview/sansview.py
- Timestamp:
- Jun 20, 2009 6:58:05 PM (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:
- 0ccd214
- Parents:
- c9454bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/sansview.py
r0a0624f r0fdcd1e 5 5 # For py2exe, import config here 6 6 import local_config 7 import sys 7 8 from perspectives.pr.pr import NewPrFileEvent 8 9 9 # OS-dependent preferred height 10 #TODO: refactor this 11 _DEFAULT_HEIGHT=650 12 import sys 13 if sys.platform.count("darwin")>0: 14 _DEFAULT_HEIGHT=720 10 # Application dimensions 11 APP_HEIGHT = 780 12 APP_WIDTH = 850 15 13 16 14 class PrFrame(gui_manager.ViewerFrame): … … 22 20 #from gui_manager import ViewerFrame 23 21 self.frame = PrFrame(None, -1, local_config.__appname__, 24 window_height= _DEFAULT_HEIGHT, window_width=850)22 window_height=APP_HEIGHT, window_width=APP_WIDTH) 25 23 self.frame.Show(True) 26 24
Note: See TracChangeset
for help on using the changeset viewer.