Project

General

Profile

Actions

Bug #605

closed

When Trying to Resize Columns in Dataview, Column Becomes Selected

Added by Matthew Brooke over 21 years ago. Updated over 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
09/28/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
605

Description

In the header row of the data table, if the user tries to drag the separators to
make the columns wider/narrower, the column is selected. This could be bad if
the user has already made a selection of cells in the table - the selection
would be lost. Also, MetaViewer changes from Entity to Attribute when col is
selected (less of a problem, but still annoying if user is only trying to resize
columns)

The column should be selected only if the user clicks on the header; if the user
clicks and drags the separator, the column should not be selected (see
mouselistener code for table header in file->open dialog: this sorts if the user
clicks, but resizes without sorting if the user drags the dividers)

Actions #1

Updated by Dan Higgins over 21 years ago

moved MousePressed handler code for header to appear in MouseClicked event. This
allows column size settings to be carried out without changing the selection

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 605

Actions

Also available in: Atom PDF