Ignore:
Timestamp:
Mar 29, 2015 11:05:43 PM (9 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:
a3f125f0
Parents:
60dca65c
Message:
  • Fixed problem with mac vs pc positioning of tool panels for now -

opened ticket to completely rethink panels in mac vs pc

  • Added close button/activated close method for tool panels that did not

have it. Tool panels are now much more consistant.

File:
1 edited

Legend:

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

    raf6b53c rd5419f7f  
    3939#Slit length panel size 
    4040if sys.platform.count("win32") > 0: 
     41    PANEL_TOP = 0 
    4142    PANEL_WIDTH = 525 
    4243    PANEL_HEIGHT = 653 
     
    4445    IS_WIN = True 
    4546else: 
     47    PANEL_TOP = 60 
    4648    PANEL_WIDTH = 540 
    4749    PANEL_HEIGHT = 662 
     
    13351337        self.panel = ResolutionCalculatorPanel(parent=self) 
    13361338        self.Bind(wx.EVT_CLOSE, self.OnClose) 
    1337         self.SetPosition((25, 10)) 
     1339        self.SetPosition((wx.LEFT, PANEL_TOP)) 
    13381340        self.Show(True) 
    13391341 
Note: See TracChangeset for help on using the changeset viewer.