RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
787 stars 259 forks source link

Keep selected token property in view when moving it up or down a big property table #4864

Closed maltedreschert closed 2 months ago

maltedreschert commented 2 months ago

Identify the Bug or Feature request

fixes #4711

Description of the Change

To keep a specific table row in the view rect, JTable must be instructed which row needs to be visible i.e. by calling JTable.scrollRectToVisible(). To get the rect, one can ask JTable for the rect of a row by calling JTable.getCellRect(rowNumber, columnNumber, true). This call has been added to:

Possible Drawbacks

No drawbacks known

Documentation Notes

N/A

Release Notes


This change is Reviewable