Ignore:
Timestamp:
Nov 15, 2010 1:03:51 PM (14 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:
1db4a53
Parents:
53ddcdb
Message:

adjusted panel size for MAC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/profile_dialog.py

    rda9ac4e6 r6996942  
    1515#SLD panel size  
    1616if sys.platform.count("win32")>0: 
    17     _STATICBOX_WIDTH = 380 
     17    _STATICBOX_WIDTH = 570 
    1818    PANEL_SIZE = 475 
    1919    FONT_VARIANT = 0 
    2020else: 
    21     _STATICBOX_WIDTH = 410 
     21    _STATICBOX_WIDTH = 810 
    2222    PANEL_SIZE = 505 
    2323    FONT_VARIANT = 1 
     
    3838                 id = -1, *args, **kwds): 
    3939        kwds["style"] =  wx.DEFAULT_DIALOG_STYLE 
    40         kwds["size"] = wx.Size(_STATICBOX_WIDTH*1.5,PANEL_SIZE)  
     40        kwds["size"] = wx.Size(_STATICBOX_WIDTH,PANEL_SIZE)  
    4141        wx.Dialog.__init__(self, parent, id = id,  *args, **kwds) 
    4242        if data != None: 
Note: See TracChangeset for help on using the changeset viewer.