Changeset 7d9e7a9 in sasview
- Timestamp:
- Jun 22, 2011 6:38:09 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:
- f199764
- Parents:
- db47703
- Files:
-
- 2 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: " -
sansview/perspectives/fitting/fitting.py
rdb47703 r7d9e7a9 956 956 957 957 cpage = self.fit_panel.get_page_by_id(uid) 958 958 # Make sure we got all results (CallAfter is important to MAC) 959 959 wx.CallAfter(cpage.onsetValues, result.fitness, 960 960 param_name, result.pvec, result.stderr)
Note: See TracChangeset
for help on using the changeset viewer.