Changeset 57c9d61 in sasview for sansguiframe


Ignore:
Timestamp:
Apr 18, 2012 3:59:08 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:
06aa26a5
Parents:
364658d
Message:

Tweak status bar

File:
1 edited

Legend:

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

    racd0fd10 r57c9d61  
    113113        #save the position of the gauge 
    114114        width, height = self.GetSize() 
    115         self.gauge = wx.Gauge(self, size=(width/10, height-3), 
     115        self.gauge = wx.Gauge(self, size=(width/10, height-8), 
    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,-1), 
     120                                                 size=(BUTTON_SIZE-4,-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-5, height-4)) 
     125                                 size=(BUTTON_SIZE-4, height-4)) 
    126126        self.bitmap_bt_console.SetBitmapLabel(console_bmp) 
    127127        console_hint = "History of status bar messages" 
     
    169169        self.bitmap_bt_warning.SetPosition((rect.x + 5, rect.y - 2)) 
    170170        rect = self.GetFieldRect(CONSOLE_POSITION) 
    171         self.bitmap_bt_console.SetPosition((rect.x - 5, rect.y - 2)) 
     171        self.bitmap_bt_console.SetPosition((rect.x - 5, rect.y - 5)) 
    172172        self.sizeChanged = False 
    173173         
Note: See TracChangeset for help on using the changeset viewer.