Changeset 6184b4e in sasview


Ignore:
Timestamp:
Apr 18, 2012 4:28:10 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
ee54fcf0
Parents:
06aa26a5
Message:

Tweak status bar

File:
1 edited

Legend:

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

    r57c9d61 r6184b4e  
    113113        #save the position of the gauge 
    114114        width, height = self.GetSize() 
    115         self.gauge = wx.Gauge(self, size=(width/10, height-8), 
     115        self.gauge = wx.Gauge(self, size=(width/10, height-3), 
    116116                               style=wx.GA_HORIZONTAL) 
    117117        self.gauge.Hide() 
    118118        #status bar icon 
    119119        self.bitmap_bt_warning = wx.BitmapButton(self, -1, 
    120                                                  size=(BUTTON_SIZE-4,-1), 
     120                                                 size=(BUTTON_SIZE,-1), 
    121121                                                  style=wx.NO_BORDER) 
    122122        console_bmp = wx.ArtProvider.GetBitmap(wx.ART_TIP, wx.ART_TOOLBAR, 
    123123                                                size = (16,16)) 
    124124        self.bitmap_bt_console = wx.BitmapButton(self, -1,  
    125                                  size=(BUTTON_SIZE-4, height-4)) 
     125                                 size=(BUTTON_SIZE-5, height-4)) 
    126126        self.bitmap_bt_console.SetBitmapLabel(console_bmp) 
    127127        console_hint = "History of status bar messages" 
     
    165165        """ 
    166166        rect = self.GetFieldRect(GAUGE_POSITION) 
    167         self.gauge.SetPosition((rect.x + 5, rect.y - 2)) 
     167        self.gauge.SetPosition((rect.x + 5, rect.y)) 
    168168        rect = self.GetFieldRect(ICON_POSITION) 
    169         self.bitmap_bt_warning.SetPosition((rect.x + 5, rect.y - 2)) 
     169        self.bitmap_bt_warning.SetPosition((rect.x + 5, rect.y)) 
    170170        rect = self.GetFieldRect(CONSOLE_POSITION) 
    171         self.bitmap_bt_console.SetPosition((rect.x - 5, rect.y - 5)) 
     171        self.bitmap_bt_console.SetPosition((rect.x - 5, rect.y)) 
    172172        self.sizeChanged = False 
    173173         
Note: See TracChangeset for help on using the changeset viewer.