Changeset cf9b6950 in sasview


Ignore:
Timestamp:
Feb 16, 2011 6:17:16 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
e715e4f
Parents:
dd03efb
Message:

improved the report panel

Location:
invariantview/perspectives/invariant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/help_panel.py

    r4a2b054 rcf9b6950  
    9090            <body> 
    9191            <ul> 
    92             <li><a href =%s target ="showframe">Invariant</a><br></li> 
     92            <li><a href ="%s" target ="showframe">Invariant</a><br></li> 
    9393            </ul> 
    9494            </body> 
  • invariantview/perspectives/invariant/report_dialog.py

    r4a2b054 rcf9b6950  
    9595         
    9696        # panel for report page 
    97         panel = wx.Panel(self, -1) 
     97        #panel = wx.Panel(self, -1) 
    9898        vbox = wx.BoxSizer(wx.VERTICAL) 
    9999        # html window 
    100         self.hwindow = html.HtmlWindow(panel,style=wx.BORDER,size=(700,500)) 
     100        self.hwindow = html.HtmlWindow(self,style=wx.BORDER) 
    101101        # set the html page with the report string 
    102102        self.hwindow.SetPage(self.report_html) 
    103103         
    104104        # add panels to boxsizers 
    105         vbox.Add(hbox, 30) 
    106         vbox.Add(panel, 500, wx.EXPAND|wx.ALL) 
    107  
    108         self.SetSizerAndFit(vbox) 
     105        vbox.Add(hbox) 
     106        vbox.Add(self.hwindow, 1, wx.EXPAND|wx.ALL,0) 
     107 
     108        self.SetSizer(vbox) 
    109109        self.Centre() 
    110110        self.Show(True) 
     111 
    111112 
    112113    def onSave(self, event=None): 
Note: See TracChangeset for help on using the changeset viewer.