Changeset ee576a9 in sasview for src/sans/perspectives/fitting/ftol_dialog.py
- Timestamp:
- Apr 5, 2014 11:50:04 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:
- 18c8c3d
- Parents:
- e94f14f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/perspectives/fitting/ftol_dialog.py
re94f14f ree576a9 19 19 SANS_F_TOL = 5e-05 20 20 21 PANEL_ HEIGHT = 26521 PANEL_WIDTH = 270 22 22 FONT_VARIANT = 0 23 23 if sys.platform.count("win32") > 0: 24 PANEL_ WIDTH = 27024 PANEL_HEIGHT = 265 25 25 else: 26 PANEL_ WIDTH = 28526 PANEL_HEIGHT = 255 27 27 28 28 class ChangeFtol(wx.Dialog): … … 31 31 """ 32 32 def __init__(self, parent, base, id=-1, title="FTolerance"): 33 wx.Dialog.__init__(self, parent, id, title) 33 wx.Dialog.__init__(self, parent, id, title, 34 size=(PANEL_WIDTH, PANEL_HEIGHT)) 34 35 # font size 35 36 self.SetWindowVariant(variant=FONT_VARIANT)
Note: See TracChangeset
for help on using the changeset viewer.