Opened 3 years ago

Closed 3 years ago

#354 closed defect (fixed)

Fix menu bar on generic scattering calculator tool

Reported by: butler Owned by:
Priority: major Milestone: SasView 3.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

The generic scattering calculator tool brings up a window with its own menu bar — however none of those icons work. This may be a problem with Wx 3.0?

Change History (1)

comment:1 Changed 3 years ago by butler

  • Resolution set to fixed
  • Status changed from new to closed

Somebody had changed to using wx.toolbar for wx3.0 instead of the old createtoolbar (which uses toolbar but takes care of all the frame management). Because the window is rather complicated the frame management was not being done properly and caused problem on windows 8.1 machines at least (not sure about others). While it could be fixed by rewriting a lot of structure, I completely removed the toolbar since

a) no other tool panels use it (i.e. not consistant in look and feel)
b) the toolbar was completely gratuitious, duplicating very obvious functionality except for the help

I added a help button just like I added to every other tool panel so that all panels now are a click away from panel help and in exactly the same way.

Note: See TracTickets for help on using tickets.