Initial load of column labels off

Issue #549 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Open a new file or change the label settings and see well-placed labels

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

I can't quite figure out how to reproduce this issue, but it happens occassionally upon opening a new file and/or changing the label settings.

  1. Open a new file, not seen before, with labels that are larger than the label area (e.g. reset prefs and open small_133x133.txt)

CURRENT BEHAVIOR

Sometimes, on some systems, the labels look like this until you scroll them or change the panel dimensions:

initial_load_col_labels_messed_up.png

EXPECTED BEHAVIOR

The labels should initially look like this:

well_placed_labels.png

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Note, the position of the scrollbar in the current behavior image is wrong. It should be scrolled all the way to the bottom. This is probably an initialization thing. The setting of the scrollbar position is not happening in some instances. The content was drawn as if the scrollbar was at the bottom, but the scrollbar ended up at the top.

FILES AFFECTED (where the changes will be implemented) - developers only

LabelView.java

LEVEL OF EFFORT - developers only

minor

COMMENTS

Comments (2)

  1. Log in to comment