- Timestamp:
- Jun 22, 2011 6:38:09 PM (14 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:
- f199764
- Parents:
- db47703
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/perspectives/pr/inversion_panel.py
r4c65725 r7d9e7a9 17 17 from pr_widgets import OutputTextCtrl 18 18 19 19 if sys.platform.count("darwin")==0: 20 FONT_VARIANT = 0 21 else: 22 FONT_VARIANT = 1 20 23 21 24 class InversionControl(ScrolledPanel, PanelBase): … … 38 41 PanelBase.__init__(self, parent) 39 42 self.SetupScrolling() 43 #Set window's font size 44 self.SetWindowVariant(variant=FONT_VARIANT) 40 45 41 46 self.plots = plots … … 920 925 wx.PostEvent(self._manager.parent, StatusEvent(status=message)) 921 926 else: 922 self._manager.setup_plot_inversion(alpha=alpha, nfunc=nfunc, 923 d_max=dmax, 924 q_min=qmin, q_max=qmax, 925 bck=has_bck, 926 height=height, 927 width=width) 927 wx.CallAfter(self._manager.setup_plot_inversion, alpha=alpha, 928 nfunc=nfunc, 929 d_max=dmax, 930 q_min=qmin, q_max=qmax, 931 bck=has_bck, 932 height=height, 933 width=width) 928 934 else: 929 935 message = "The P(r) form contains invalid values: "
Note: See TracChangeset
for help on using the changeset viewer.