Changeset beda555 in sasview for src/sans/guiframe/gui_statusbar.py
- Timestamp:
- Apr 5, 2014 6:47:16 AM (11 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:
- 1c03e14
- Parents:
- 201af9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/gui_statusbar.py
rcaf273b rbeda555 114 114 self.SetFieldsCount(NB_FIELDS) 115 115 # Leave some space for the resize handle in the last field 116 self.SetStatusWidths([width+4, -2, -1, width+15]) 116 console_btn_width = 80 117 self.SetStatusWidths([width+4, -2, -1, width+console_btn_width]) 117 118 self.SetMinHeight(height) 118 119 … … 132 133 size=(width, height), 133 134 style=wx.NO_BORDER) 134 135 135 136 # Create the button used to show the console dialog 136 console_bmp = wx.ArtProvider.GetBitmap(wx.ART_INFORMATION,137 wx.ART_TOOLBAR,138 size = (width, height))139 self.bitmap_bt_console = wx.BitmapButton(self, -1,140 size=(width, height),141 style=wx.NO_BORDER)142 self.bitmap_bt_console.SetBitmapLabel(console_bmp) 137 self.bitmap_bt_console = wx.Button(self, wx.NewId(), "Console", 138 size=(console_btn_width, 10), 139 style=wx.BU_EXACTFIT) 140 font = self.bitmap_bt_console.GetFont() 141 font = font.Smaller() 142 self.bitmap_bt_console.SetFont(font) 143 143 144 console_hint = "History of status bar messages" 144 145 self.bitmap_bt_console.SetToolTipString(console_hint)
Note: See TracChangeset
for help on using the changeset viewer.