Changeset f686259 in sasview
- Timestamp:
- Aug 24, 2012 10:52:28 AM (12 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:
- 0b96d74
- Parents:
- f40f743
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/src/sans/perspectives/invariant/invariant_panel.py
r3df5ecf rf686259 41 41 42 42 if sys.platform.count("win32") > 0: 43 _STATICBOX_WIDTH = 4 2043 _STATICBOX_WIDTH = 450 44 44 PANEL_WIDTH = 500 45 45 PANEL_HEIGHT = 700 46 46 FONT_VARIANT = 0 47 47 else: 48 _STATICBOX_WIDTH = 4 5048 _STATICBOX_WIDTH = 490 49 49 PANEL_WIDTH = 530 50 50 PANEL_HEIGHT = 700 … … 1752 1752 """ 1753 1753 uncertainty = "+/-" 1754 unit_invariant = '[1/(cm *A^3)]'1754 unit_invariant = '[1/(cm*A^3)]' 1755 1755 invariant_total_txt = wx.StaticText(self, -1, 'Invariant Total [Q*]') 1756 1756 self.invariant_total_tcl = OutputTextCtrl(self, -1, … … 1764 1764 hint_msg = "Uncertainty on invariant." 1765 1765 self.invariant_total_err_tcl.SetToolTipString(hint_msg) 1766 invariant_total_units_txt = wx.StaticText(self, -1, unit_invariant) 1766 invariant_total_units_txt = wx.StaticText(self, -1, unit_invariant, 1767 size=(80,-1)) 1767 1768 1768 1769 #Invariant total … … 1794 1795 contrast_hint_txt = "Contrast" 1795 1796 self.contrast_tcl.SetToolTipString(contrast_hint_txt) 1796 contrast_unit_txt = wx.StaticText(self, -1, '[1/A^2]' )1797 contrast_unit_txt = wx.StaticText(self, -1, '[1/A^2]', size=(40,-1)) 1797 1798 porod_const_txt = wx.StaticText(self, -1, 1798 1799 'Porod\nConstant:\n(optional)\n') 1799 porod_unit_txt = wx.StaticText(self, -1, '[1/(cm*A^4)]' )1800 porod_unit_txt = wx.StaticText(self, -1, '[1/(cm*A^4)]', size=(80,-1)) 1800 1801 self.porod_constant_tcl = InvTextCtrl(self, -1, 1801 1802 size=(_BOX_WIDTH, 20), style=0,
Note: See TracChangeset
for help on using the changeset viewer.