Changeset 4ff124ad in sasview
- Timestamp:
- Jun 27, 2011 11:15:10 AM (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:
- 904193cd
- Parents:
- c501ea5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/welcome_panel.py
r93f7c62 r4ff124ad 19 19 import local_config as config 20 20 import logging 21 21 from wx.lib.scrolledpanel import ScrolledPanel 22 22 from sans.guiframe.panel_base import PanelBase 23 23 #Font size width … … 76 76 77 77 78 class WelcomePage( wx.Panel):78 class WelcomePage(ScrolledPanel): 79 79 """ 80 80 Panel created like about box as a welcome page … … 89 89 90 90 91 def __init__(self, *args, **kwds):91 def __init__(self, parent, *args, **kwds): 92 92 93 93 kwds["style"] = wx.DEFAULT_DIALOG_STYLE 94 94 95 wx.Panel.__init__(self, *args, **kwds)96 95 ScrolledPanel.__init__(self, parent, **kwds) 96 self.SetupScrolling() 97 97 image = os.path.join("images","SVwelcome.png") 98 98 self.SetWindowVariant(variant = FONT_VARIANT)
Note: See TracChangeset
for help on using the changeset viewer.