Changeset 6184b4e in sasview for sansguiframe/src/sans
- Timestamp:
- Apr 18, 2012 4:28:10 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_statusbar.py
r57c9d61 r6184b4e 113 113 #save the position of the gauge 114 114 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), 116 116 style=wx.GA_HORIZONTAL) 117 117 self.gauge.Hide() 118 118 #status bar icon 119 119 self.bitmap_bt_warning = wx.BitmapButton(self, -1, 120 size=(BUTTON_SIZE -4,-1),120 size=(BUTTON_SIZE,-1), 121 121 style=wx.NO_BORDER) 122 122 console_bmp = wx.ArtProvider.GetBitmap(wx.ART_TIP, wx.ART_TOOLBAR, 123 123 size = (16,16)) 124 124 self.bitmap_bt_console = wx.BitmapButton(self, -1, 125 size=(BUTTON_SIZE- 4, height-4))125 size=(BUTTON_SIZE-5, height-4)) 126 126 self.bitmap_bt_console.SetBitmapLabel(console_bmp) 127 127 console_hint = "History of status bar messages" … … 165 165 """ 166 166 rect = self.GetFieldRect(GAUGE_POSITION) 167 self.gauge.SetPosition((rect.x + 5, rect.y - 2))167 self.gauge.SetPosition((rect.x + 5, rect.y)) 168 168 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)) 170 170 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)) 172 172 self.sizeChanged = False 173 173
Note: See TracChangeset
for help on using the changeset viewer.