Ignore:
Timestamp:
Apr 11, 2010 5:11:29 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
db10f97
Parents:
9abec44
Message:

working on proper display of invariant panel on vista

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_panel.py

    r9abec44 rb7f29fc  
    5656    def __init__(self, parent, data=None, manager=None): 
    5757        ScrolledPanel.__init__(self, parent) 
    58         self.SetupScrolling() 
    5958        #Font size  
    6059        self.SetWindowVariant(variant=FONT_VARIANT) 
     
    7271        if self.parent is not None: 
    7372            msg = "" 
    74             wx.PostEvent(self.parent, StatusEvent(status= msg)) 
     73            wx.PostEvent(self.parent, StatusEvent(status=msg)) 
     74        self.SetupScrolling() 
    7575        
    7676    def err_check_on_data(self): 
     
    104104            self.reset_panel() 
    105105            self.compute_invariant(event=None) 
    106              
     106              
    107107    def set_message(self): 
    108108        """ 
     
    420420        self.button_details.Enable() 
    421421        self.button_details.SetFocus() 
    422         self.Layout() 
    423422         
    424423    def reset_panel(self): 
     
    460459        #prepare a new container to put result of invariant 
    461460        self.inv_container = InvariantContainer() 
    462         self.Layout() 
    463          
     461        
    464462    def _define_structure(self): 
    465463        """ 
     
    728726        self._enable_fit_power_law_high() 
    729727        self.button_calculate.SetFocus() 
    730    
     728  
    731729    def _layout_extrapolation_high(self): 
    732730        """ 
     
    973971                                  wx.LEFT|wx.RIGHT|wx.BOTTOM, 10)]) 
    974972        self.SetSizer(self.main_sizer) 
    975         self.SetAutoLayout(True) 
     973        #self.SetAutoLayout(True) 
    976974     
    977975class InvariantDialog(wx.Dialog): 
Note: See TracChangeset for help on using the changeset viewer.