Project

General

Profile

Actions

Bug #5104

open

CustomList text fields are too short

Added by ben leinfelder over 13 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
07/27/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5104

Description

Directly editing in any CustomList widget (used in code definition, taxonomic coverage, etc...) truncates the bottom of the text because the table cells are too small to show the entire JTextField. This should be altered so that the cells are large enough to display both the JLabels (not editing) and the JTextFields (editing).

L. Wolkovich reports:
"Lots of data entry forms let you see only the upper 70% of the word you are typing (for example when entering taxonomic stuff or giving description of categories when entering types of data table columns)."

Actions #1

Updated by ben leinfelder over 13 years ago

This is a larger Java-wide problem with JTextField editors in JTable (happens in Kepler, too).
One solution is to force the row height to accommodate the text field, but this create tables that look overly padded. Another is to increase the row height when a cell is being edited, then decrease it when editing stops, but this might be visually jarring. It may be possible - though I'm not hopeful - to have the textfield "hover" over the cell, but I can't think of a way to implement that off the top of my head.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 5104

Actions

Also available in: Atom PDF