Changeset 2cd9153 in sasview for guiframe/statusbar.py


Ignore:
Timestamp:
Feb 17, 2009 12:57:31 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:
282a3e7
Parents:
202a7dc3
Message:

small change on status bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/statusbar.py

    ref628a1 r2cd9153  
    44         wx.StatusBar.__init__(self, *args,**kargs) 
    55         #Layout of status bar 
    6          self.SetFieldsCount(3)  
     6         self.SetFieldsCount(2)  
    77         width,height = self.GetSize() 
    8          self.gauge = wx.Gauge(self, size=(-1,height-4),style= wx.GA_PROGRESSBAR) 
     8         self.gauge = wx.Gauge(self, size=(-1,height-4),style= wx.GA_HORIZONTAL) 
     9         self.SetStatusWidths([-4, -1]) 
    910         rect = self.GetFieldRect(1) 
    1011         self.gauge.SetPosition((rect.x+ 10, rect.y-2)) 
     12          
    1113         self.gauge.Hide() 
     14          
    1215         #Progess  
    1316 
Note: See TracChangeset for help on using the changeset viewer.