Changeset 57c9d61 in sasview
- Timestamp:
- Apr 18, 2012 3:59:08 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:
- 06aa26a5
- Parents:
- 364658d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_statusbar.py
racd0fd10 r57c9d61 113 113 #save the position of the gauge 114 114 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), 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 ,-1),120 size=(BUTTON_SIZE-4,-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- 5, height-4))125 size=(BUTTON_SIZE-4, height-4)) 126 126 self.bitmap_bt_console.SetBitmapLabel(console_bmp) 127 127 console_hint = "History of status bar messages" … … 169 169 self.bitmap_bt_warning.SetPosition((rect.x + 5, rect.y - 2)) 170 170 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)) 172 172 self.sizeChanged = False 173 173
Note: See TracChangeset
for help on using the changeset viewer.