Ignore:
Timestamp:
Apr 14, 2010 5:24:50 PM (15 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:
2012eae
Parents:
355b684
Message:

repaint invariant panel for sansview

File:
1 edited

Legend:

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

    r355b684 rf1b0f70  
    5555    CENTER_PANE = True 
    5656    def __init__(self, parent, data=None, manager=None,*args, **kwds): 
    57         kwds["size"]=(PANEL_WIDTH, PANEL_HEIGHT) 
     57        kwds["style"]= wx.FULL_REPAINT_ON_RESIZE 
    5858        ScrolledPanel.__init__(self, parent=parent, *args, **kwds) 
    5959        #Font size  
     
    8585                flag = True 
    8686                msg = "Invariant: one of your q-values is zero. Delete that entry before proceeding" 
     87                self.hint_msg_txt.SetLabel(msg) 
    8788                wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop"))  
     89        self.hint_msg_txt.SetLabel('') 
    8890        return flag 
    8991     
     
    102104            self.data_min_tcl.SetLabel(str(data_qmin)) 
    103105            self.data_max_tcl.SetLabel(str(data_qmax)) 
    104             self.hint_msg_txt.SetLabel('') 
    105106            self.reset_panel() 
    106107            self.compute_invariant(event=None) 
Note: See TracChangeset for help on using the changeset viewer.