Changeset b3c0c00 in sasview


Ignore:
Timestamp:
Oct 16, 2009 6:03:22 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:
8d143e8
Parents:
17c5868
Message:

redefined the width of wx.gauge so that it is horizontal for both PC/MAC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/statusbar.py

    r60c1943 rb3c0c00  
    99         self.SetFieldsCount(2)  
    1010         width,height = self.GetSize() 
    11          self.gauge = wx.Gauge(self, size=(-1,height-4),style= wx.GA_HORIZONTAL) 
     11         self.gauge = wx.Gauge(self, size=(width/10,height-3),style= wx.GA_HORIZONTAL) 
    1212         self.SetStatusWidths([-4, -1]) 
    1313         rect = self.GetFieldRect(1) 
Note: See TracChangeset for help on using the changeset viewer.