Changeset 43cc1ad2 in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Jan 4, 2012 2:10:47 PM (13 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:
acd0fd10
Parents:
85b856b
Message:

visiable gauge on splashpage (win vista/7)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/gui_statusbar.py

    r96683dc r43cc1ad2  
    230230        count = 0 
    231231        while(count <= 100): 
     232            print "count=", count 
    232233            count += 1 
    233234        self.timer_stop.Stop()  
     
    349350        self.SetFieldsCount(1)  
    350351        self.timeout = timeout 
    351         self.gauge = wx.Gauge(self,style=wx.GA_HORIZONTAL, size=parent.GetSize()) 
     352        width, height = parent.GetSizeTuple() 
     353        self.gauge = wx.Gauge(self, style=wx.GA_HORIZONTAL,  
     354                              size=(width, height/10)) 
    352355        rect = self.GetFieldRect(0) 
    353356        self.gauge.SetPosition((rect.x , rect.y )) 
Note: See TracChangeset for help on using the changeset viewer.