Changeset e86455b in sasview for sansguiframe/src
- Timestamp:
- Apr 16, 2012 6:31:06 AM (13 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:
- 1a7207b
- Parents:
- 14d2daa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r1e6d7290 re86455b 3300 3300 """ 3301 3301 """ 3302 pos, size = self.window_placement((GUIFRAME_WIDTH, GUIFRAME_HEIGHT)) 3302 global GUIFRAME_WIDTH, GUIFRAME_HEIGHT 3303 3304 if (GUIFRAME_WIDTH > ((wx.DisplaySize()[0]/100)*90) | GUIFRAME_HEIGHT > ((wx.DisplaySize()[1]/100)*90) ): 3305 GUIFRAME_WIDTH = (wx.DisplaySize()[0]/100)*90 3306 GUIFRAME_HEIGHT = (wx.DisplaySize()[1]/100)*90 3307 3308 pos, size = self.window_placement((GUIFRAME_WIDTH, GUIFRAME_HEIGHT)) 3303 3309 self.frame = ViewerFrame(parent=None, 3304 3305 3306 3307 size=size)3310 title=APPLICATION_NAME, 3311 pos=pos, 3312 gui_style = DEFAULT_STYLE, 3313 size=size) 3308 3314 self.frame.Hide() 3309 3315 self.s_screen = None
Note: See TracChangeset
for help on using the changeset viewer.