Changeset e3a76c8 in sasview for sansview/perspectives


Ignore:
Timestamp:
Oct 15, 2009 8:59:12 PM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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:
8dfe0fd
Parents:
448e69c
Message:

Defined the size of buttons; was too big on linux

Location:
sansview/perspectives/fitting
Files:
3 edited

Legend:

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

    r448e69c re3a76c8  
    12991299        if object !=None: 
    13001300            boxsizer1.Add( (-72,-72)) 
    1301             boxsizer1.Add( object,  0, wx.ALIGN_RIGHT| wx.RIGHT, 40) 
     1301            boxsizer1.Add( object,  0, wx.ALIGN_RIGHT| wx.RIGHT, 35) 
    13021302            boxsizer1.Add( (60,60)) 
    13031303        #-------------------------------------------------------- 
  • sansview/perspectives/fitting/fitpage.py

    rff8f99b re3a76c8  
    153153        sizer_fit = wx.GridSizer(1, 1,0, 0) 
    154154     
    155         self.btFit = wx.Button(self,wx.NewId(),'Fit') 
     155        self.btFit = wx.Button(self,wx.NewId(),'Fit', size=(80,23)) 
    156156        self.btFit.Bind(wx.EVT_BUTTON, self._onFit,id= self.btFit.GetId()) 
    157157        self.btFit.SetToolTipString("Perform fit.") 
     
    175175        sizer_smearer.Add( self.disable_smearer ) 
    176176        #Display Chi^2/dof 
    177         sizer_smearer.Add((90,10)) 
     177        sizer_smearer.Add((78,10)) 
    178178        box_description= wx.StaticBox(self, -1,'Chi2/dof') 
    179179        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
     
    261261          
    262262        id = wx.NewId() 
    263         self.model_help =wx.Button(self,id,'Details') 
     263        self.model_help =wx.Button(self,id,'Details', size=(80,23)) 
    264264        self.model_help.Bind(wx.EVT_BUTTON, self.on_model_help_clicked,id=id) 
    265265        self.model_help.SetToolTipString("Model Function Help") 
     
    626626        self.btFit.SetFocus()     
    627627        self.sizer5.Layout() 
    628         self.SetScrollbars(20,20,55,40) 
     628        #self.SetScrollbars(20,20,55,40) 
    629629         
    630630    def _StopFit(self, event): 
  • sansview/perspectives/fitting/modelpage.py

    r448e69c re3a76c8  
    119119         
    120120        id = wx.NewId() 
    121         self.model_view =wx.Button(self,id,'View 2D') 
     121        self.model_view =wx.Button(self,id,'View 2D', size=(80,23)) 
    122122        self.model_view.Bind(wx.EVT_BUTTON, self._onModel2D,id=id) 
    123123        self.model_view.SetToolTipString("View model in 2D") 
     
    410410        self.description_hide.SetValue(True) 
    411411         
    412         self.model_description = wx.Button(self,-1, label="Details") 
     412        self.model_description = wx.Button(self,-1, label="Details", size=(80,23)) 
    413413        self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 
    414414        self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") 
Note: See TracChangeset for help on using the changeset viewer.