Ignore:
Timestamp:
Oct 24, 2008 5:05:33 PM (16 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:
922b0d1
Parents:
b24bf4e
Message:

replot 2 d model with data bugging…not replotting all the time you seledct model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/modelpage.py

    r5cab7d3 rd171299  
    216216        if hasattr(self.model,'description'): 
    217217            description =model.description 
     218         
     219 
    218220        print "went here",self.model.name,model.description 
    219221        iy = 1 
     
    222224        self.sizer1.Add(self.cb0,(iy, ix),(1,1),\ 
    223225                          wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
    224         ix += 1 
    225         self.cb01 = wx.StaticText(self, -1,str(description)) 
     226        iy += 1 
     227         
     228        self.cb01 = wx.StaticText(self, -1,str(description),style=wx.ALIGN_LEFT) 
     229        self.cb01.Wrap(400)  
     230        #self.cb01 = wx.StaticText(self, -1,str(description),(45, 25),style=wx.ALIGN_LEFT) 
     231         
    226232        self.sizer1.Add(self.cb01,(iy, ix),(1,1),\ 
    227233                          wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
Note: See TracChangeset for help on using the changeset viewer.