Initial label display not initialized properly after some label settings changes

Issue #535 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Change label settings and see initially aligned labels.

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

  1. Open small_133x133.cdt
  2. Select View->Labels...
  3. Select AID as the column label type to display
  4. Select justification "Top"
  5. Select "As many as possible" under "When labels don't fit, show..."
  6. Click OK
  7. Hover over the matrix
  8. Right-click the column label area & select label settings
  9. Select COMPLEX for the column label type
  10. Select justification "Bottom"
  11. Click OK
  12. Hover over the matrix

A similar procedure with the row label pane produces similar errant behavior.

CURRENT BEHAVIOR

After step 7, note that the column label area is empty and not scrollable. Adjusting the splitpane size or the martix size corrects this. After step 12, the labels appear scrolled off the bottom. Scrolling the label pane fixes this.

EXPECTED BEHAVIOR

The scroll of the labels should be re-initialized after every change to the label settings. Some changes appear to work, but it should occur every time.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

call resetSecondaryScroll when the user clicks the label settings OK button in the label settings dialog.

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

LabelSettingsController

LEVEL OF EFFORT - developers only

minor

COMMENTS

Comments (3)

  1. Log in to comment