Ticket #1338 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

MantidPlot: add ability to resize columns of data tables using mouse

Reported by: Janik Zikovsky Owned by: Russell Taylor
Priority: major Milestone: Iteration 24
Component: Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

Under linux, at least, I cannot resize the width of data table columns. The number of digits displayed is too large and the exponent is never visible "1.0000e+..." is shown.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

To clarify, my comment refers to the result of clicking "Show Data" on a workspace. Also; changing the table font in the Preferences has no effect.

comment:2 Changed 10 years ago by Russell Taylor

Janik - to change the column width go to the Workspace menu item, then Set Properties... -> Cell Width. (Minimal) documentation at http://www.mantidproject.org/MantidPlot:_The_Workspace_Menu

This was added way before we touched the general MantidPlot preferences dialog, so I'll leave the ticket open because we may want to merge these options in with that.

comment:3 Changed 10 years ago by Janik Zikovsky

  • Summary changed from MantidPlot: add ability to resize columns of data tables to MantidPlot: add ability to resize columns of data tables using mouse

Thank you, that works!

But I will change my suggestion: it would be more straightforward to resize the columns with the mouse, clicking between column headers and dragging. This is consistent with behaviour in Excel, File Explorer, etc. (almost all GUIs with column have this ability).

comment:4 Changed 10 years ago by Russell Taylor

  • Owner set to Russell Taylor
  • Status changed from new to accepted

That's so obviously what we want to do, that I don't know why we didn't think of it before you suggested it! And it's just a flag on the relevant Qt object so it'll be done in a jiffy.

comment:5 Changed 10 years ago by Russell Taylor

(In [4977]) Make columns in Mantid Matrix resizable by clicking/dragging in column header. Re #1338.

comment:6 Changed 10 years ago by Russell Taylor

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

comment:7 Changed 10 years ago by Nick Draper

  • Status changed from testing to verify

Moved to verify state

comment:8 Changed 10 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:9 Changed 10 years ago by Michael Reuter

  • Status changed from verifying to closed

The feature works as advertised.

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2185

Note: See TracTickets for help on using tickets.