Changeset 2edc8eb in sasview


Ignore:
Timestamp:
Jun 14, 2011 11:45:49 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

removed max window size constraint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    rb136098 r2edc8eb  
    25492549        window_width, window_height = size 
    25502550        screen_size = wx.GetDisplaySize() 
    2551         window_height = window_height if screen_size[1]>window_height else screen_size[1]-50 
    2552         window_width  = window_width if screen_size[0]> window_width else screen_size[0]-50 
     2551        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 
    25532553        xpos = ypos = 0 
    25542554 
     
    25632563        if len(sys.argv) > 1 and '--platform' in sys.argv[1:]: 
    25642564            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 
    25662567        if x > window_width:  xpos = (x - window_width)/2 
    25672568        if y > window_height: ypos = (y - window_height)/2 
Note: See TracChangeset for help on using the changeset viewer.