Remember the positions of the dragGrid borders
USE CASE: WHAT DO YOU WANT TO DO?
I want to not have to adjust the screen real estate devoted to the global matrix, interactive matrix, and the row & column areas every time I open a file.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open a file
- Adjust the size of the interactive matrix, global matrix, and the row/column areas by dragging the border corner to a new position
- Open a different file
- Open the first file again
CURRENT BEHAVIOR
If the user ever changes the dragGrid cell sizes to what they consider optimal positions, they must re-perform that change every time they open that data file.
EXPECTED BEHAVIOR
TreeView should remember the size of the first column and first row of the drag grid for each data file so that it doesn't need to be manually adjusted each time.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
- Upon mouseReleased after the user drags a border (in mouseDragged in DragGridPanel), store the sizes of the first row and first column in a prefs node.
- The first default value stored should be 180, which should be grabbed for use in DendroView when creating the first instance of DragGridPanel.
FILES AFFECTED (where the changes will be implemented) - developers only
DendroView (mheights & mwidths currently hard-coded to 180 pixels each) DragGridPanel
LEVEL OF EFFORT - developers only
minor
COMMENTS
Related to pull request #109 and BB issue #36.