Skip to content

Commit

Permalink
Merge pull request #87 from pllim/rm-defunct-help
Browse files Browse the repository at this point in the history
MNT: Remove defunct help text area and use button
  • Loading branch information
pllim committed Jun 4, 2021
2 parents f4c9243 + d99ac25 commit ba20b79
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions wss_tools/quip/plugins/SaveQUIP.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ def build_gui(self, container):

vbox, sw, orientation = Widgets.get_oriented_box(container)

msgFont = self.fv.getFont('sansFont', 12)
tw = Widgets.TextArea(wrap=True, editable=False)
tw.set_font(msgFont)
self.tw = tw

fr = Widgets.Expander('Instructions')
fr.set_widget(tw)
container.add_widget(fr, stretch=0)

captions = (('Channel:', 'label', 'Channel Name', 'combobox',
'Modified only', 'checkbutton'), )
w, b = Widgets.build_info(captions, orientation=orientation)
Expand Down Expand Up @@ -131,6 +122,9 @@ def build_gui(self, container):
btn = Widgets.Button('Close')
btn.add_callback('activated', lambda w: self.close())
btns.add_widget(btn, stretch=0)
btn = Widgets.Button("Help")
btn.add_callback('activated', lambda w: self.help())
btns.add_widget(btn, stretch=0)
btns.add_widget(Widgets.Label(''), stretch=1)
container.add_widget(btns, stretch=0)

Expand Down

0 comments on commit ba20b79

Please sign in to comment.