Changeset d8161f2 in sasview for src/sas/sasgui/guiframe/acknowledgebox.py
- Timestamp:
- Mar 25, 2017 3:56:07 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e11ee1d
- Parents:
- 29e2665
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/acknowledgebox.py
rc1fdf84 rd8161f2 11 11 import wx.richtext 12 12 import wx.lib.hyperlink 13 from wx.lib.expando import ExpandoTextCtrl 13 14 import random 14 15 import os.path … … 44 45 wx.Dialog.__init__(self, *args, **kwds) 45 46 46 self.ack = wx.TextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL)47 self.ack = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 47 48 self.ack.SetValue(config._acknowledgement_publications) 48 self.ack.SetMinSize((-1, 55)) 49 #self.ack.SetMinSize((-1, 55)) 50 self.citation = ExpandoTextCtrl(self, style=wx.TE_LEFT|wx.TE_MULTILINE|wx.TE_BESTWRAP|wx.TE_READONLY|wx.TE_NO_VSCROLL) 51 self.citation.SetValue(config._acknowledgement_citation) 49 52 self.preamble = wx.StaticText(self, -1, config._acknowledgement_preamble) 50 53 items = [config._acknowledgement_preamble_bullet1, … … 81 84 sizer_titles.Add(self.preamble, 0, wx.ALL|wx.EXPAND, 5) 82 85 sizer_titles.Add(self.list1, 0, wx.ALL|wx.EXPAND, 5) 86 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5) 83 87 sizer_titles.Add(self.list2, 0, wx.ALL|wx.EXPAND, 5) 88 sizer_titles.Add(self.citation, 0, wx.ALL|wx.EXPAND, 5) 84 89 sizer_titles.Add(self.list3, 0, wx.ALL|wx.EXPAND, 5) 90 #sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0) 85 91 sizer_titles.Add(self.list4, 0, wx.ALL|wx.EXPAND, 5) 86 sizer_titles.Add(self.static_line, 0, wx.ALL|wx.EXPAND, 0)87 sizer_titles.Add(self.ack, 0, wx.ALL|wx.EXPAND, 5)88 92 sizer_main.Add(sizer_titles, -1, wx.ALL|wx.EXPAND, 5) 89 93 self.SetAutoLayout(True)
Note: See TracChangeset
for help on using the changeset viewer.