Changeset 60dca65c in sasview for src/sas


Ignore:
Timestamp:
Mar 29, 2015 7:11:34 PM (10 years ago)
Author:
butler
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:
d5419f7f
Parents:
cce0ad3
Message:

test mac fix for positioning of top level panel - test uses
gen_scatter_panel as the example.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/calculator/gen_scatter_panel.py

    rc4f6851 r60dca65c  
    4242#Slit length panel size  
    4343if sys.platform.count("win32") > 0: 
     44    PANEL_TOP = 0 
    4445    PANEL_WIDTH = 570 
    4546    PANEL_HEIGHT = 370 
    4647    FONT_VARIANT = 0 
    4748else: 
     49    PANEL_TOP = 40 
    4850    PANEL_WIDTH = 620 
    4951    PANEL_HEIGHT = 370 
     
    18451847 
    18461848        self.build_panels() 
    1847         self.SetPosition((20, 5)) 
     1849        self.SetPosition((wx.LEFT, PANEL_TOP)) 
    18481850        self.Show(True) 
    18491851 
Note: See TracChangeset for help on using the changeset viewer.