Changeset 2edc8eb in sasview
- Timestamp:
- Jun 14, 2011 11:45:49 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:
- f22474c
- Parents:
- 9d64310
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
rb136098 r2edc8eb 2549 2549 window_width, window_height = size 2550 2550 screen_size = wx.GetDisplaySize() 2551 window_height = window_height if screen_size[1]>window_height else screen_size[1]- 502552 window_width = window_width if screen_size[0]> window_width else screen_size[0]- 502551 window_height = window_height if screen_size[1]>window_height else screen_size[1]-10 2552 window_width = window_width if screen_size[0]> window_width else screen_size[0]-10 2553 2553 xpos = ypos = 0 2554 2554 … … 2563 2563 if len(sys.argv) > 1 and '--platform' in sys.argv[1:]: 2564 2564 w, h = wx.DisplaySize() # size includes task bar area 2565 if x > 1920: x = 1280 # display on left side, not centered on screen 2565 # The below is commented because it is not good fix for dual monitor. 2566 #if x > 1920: x = 1280 # display on left side, not centered on screen 2566 2567 if x > window_width: xpos = (x - window_width)/2 2567 2568 if y > window_height: ypos = (y - window_height)/2
Note: See TracChangeset
for help on using the changeset viewer.