Changeset 491525f in sasview
- Timestamp:
- Jun 14, 2011 2:30:27 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:
- 626a1f9
- Parents:
- 4fb520d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r6eea960 r491525f 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 # 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 screen2565 # display on left side, not centered on screen 2566 if x > 1920 and x > (2*y): x = x / 2 2567 2567 if x > window_width: xpos = (x - window_width)/2 2568 2568 if y > window_height: ypos = (y - window_height)/2
Note: See TracChangeset
for help on using the changeset viewer.