Ticket #4000 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

MantidDock cannot be resized smaller than width of the four buttons

Reported by: Martyn Gigg Owned by: Peter Parker
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Robert Whitley

Description

With the addition of the sort button the MantidDock's minimum width has become a little bit too large and it is impossible to resize it smaller than the width of the four buttons.

This turned out to be a minor issue when doing a demo on a lower resolution projector.

It would be nice if the buttons were in some kind of layout that meant as the width shrank the buttons would move around to fit, maybe stack on each other so that the dock could be shrunk if necessary.

Change History

comment:1 Changed 9 years ago by Peter Parker

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Peter Parker

Added the "FlowLayout" class (from an online Qt example) to handle moving the buttons when the dock is resized. Refs #4000.

Changeset: cba7f814d84138b7659112888195c1d64814e71a

comment:3 Changed 9 years ago by Peter Parker

Neglected to add FlowLayout.h to MANTID_MOC_FILES in CMakeLists.txt in the previous push. Now added. Refs #4000.

Changeset: e2f90873d71d27bf21ee9670c1bed370065ea6c0

comment:4 Changed 9 years ago by Peter Parker

Amended the case of the header filename in the source file. Refs #4000.

Changeset: 7fa2365bea7c20a0073cfa6354115c6ffbb72a53

comment:5 Changed 9 years ago by Peter Parker

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 9 years ago by Robert Whitley

  • Status changed from verify to verifying
  • Tester set to Robert Whitley

comment:7 Changed 9 years ago by Robert Whitley

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4847

Note: See TracTickets for help on using tickets.