Changeset 9690fbf in sasview


Ignore:
Timestamp:
Apr 19, 2012 9:59:27 AM (12 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:
fa11fe1
Parents:
6e4d543
Message:

trying to improve the status bar

File:
1 edited

Legend:

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

    r6e4d543 r9690fbf  
    110110        # Leave some space for the resize handle in the last field 
    111111        self.SetStatusWidths([hint_w+4, -2, -1, hint_w+15]) 
    112         self.SetMinHeight(hint_h+4) 
     112        self.SetMinHeight(hint_h) 
    113113         
    114114        #display default message 
     
    122122        # Create status bar icon reflecting the type of status 
    123123        # for the last message 
    124         self.bitmap_bt_warning = wx.BitmapButton(self, -1, 
    125                                                  size=(hint_w, hint_h), 
    126                                                  style=wx.NO_BORDER) 
     124        self.bitmap_bt_warning = \ 
     125            wx.BitmapButton(self, -1, 
     126                            size=(hint_w, hint_h), 
     127                            style=wx.NO_BORDER|wx.BU_AUTODRAW) 
    127128                 
    128129        # Create the button used to show the console dialog 
    129         console_bmp = wx.ArtProvider.GetBitmap(wx.ART_INFORMATION, wx.ART_TOOLBAR, 
    130                                                 size = (hint_w, hint_h)) 
     130        console_bmp = wx.ArtProvider.GetBitmap(wx.ART_INFORMATION,  
     131                                               wx.ART_TOOLBAR, 
     132                                               size = (hint_w, hint_h)) 
    131133        self.bitmap_bt_console = wx.BitmapButton(self, -1,  
    132134                                 size=(hint_w, hint_h), 
    133                                  style=wx.NO_BORDER) 
     135                                 style=wx.NO_BORDER|wx.BU_AUTODRAW) 
    134136        self.bitmap_bt_console.SetBitmapLabel(console_bmp) 
    135137        console_hint = "History of status bar messages" 
Note: See TracChangeset for help on using the changeset viewer.