Changeset 6fb01b6 in sasview for sansview/perspectives
- Timestamp:
- Apr 20, 2009 11:08:03 PM (16 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:
- 31482fc
- Parents:
- 7011ae97
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/helpPanel.py
rdcd330b r6fb01b6 64 64 contains help info 65 65 """ 66 vbox1 = wx.BoxSizer(wx.HORIZONTAL)67 66 vbox1 =wx.FlexGridSizer(1, 2,0,0) 67 68 68 lpanel = wx.Panel(self, -1,style=wx.BORDER_SUNKEN) 69 69 rpanel = wx.Panel(self, -1) 70 vbox1.Add(lpanel, -1, wx.EXPAND|wx.ADJUST_MINSIZE, 0)71 vbox1.Add(rpanel, -1, wx.EXPAND|wx.ADJUST_MINSIZE, 0)72 70 71 vbox1.AddMany([ (lpanel,-1,wx.EXPAND,0), 72 (rpanel, -1,wx.EXPAND,0)]) 73 vbox1.AddGrowableRow(0, 0) 74 vbox1.AddGrowableCol(0, 1) 75 76 73 77 vbox = wx.BoxSizer(wx.VERTICAL) 74 header = wx.Panel(rpanel, -1 , size=(-1, 20))78 header = wx.Panel(rpanel, -1) 75 79 header.SetBackgroundColour('#6666FF') 76 80 header.SetForegroundColour('WHITE') … … 98 102 vboxl.Add(headerl, 0, wx.EXPAND) 99 103 self.lhelp = html.HtmlWindow(lpanel, -1, style=wx.NO_BORDER) 100 self.rhelp = html.HtmlWindow(rpanel, -1, style=wx.NO_BORDER )104 self.rhelp = html.HtmlWindow(rpanel, -1, style=wx.NO_BORDER, size=(500,-1)) 101 105 page1="""<html> 102 106 <body> … … 133 137 134 138 self.SetSizer(vbox1) 139 135 140 self.Centre() 136 141 self.Show(True) -
sansview/perspectives/fitting/modelpage.py
r1c1436d r6fb01b6 398 398 frame = HelpWindow(None, -1, name) 399 399 frame.Show(True) 400 400 if frame.rhelp.HasAnchor(name): 401 frame.rhelp.ScrollToAnchor(name) 402 403 401 404 def set_range(self, qmin_x, qmax_x, npts): 402 405 """
Note: See TracChangeset
for help on using the changeset viewer.