Question(s) on SDK - LRView, viewFactory:scrolled_view( args )
- August 27, 2023
- 1 reply
- 581 views
I am working on a metadata display plugin for Lightroom. The dialog uses a scrolled view with dynamic filtering capability to display the data or a filtered portion of it (see attachment p1.jpg).
When the users scrolls down the list and then decides to enter a filter string, the display may appear empty despite of results found during filtering. Reason is that the results are not visible because they are far above the scrolled position which remains intact (see p2.jpg). Dragging the vertical scroll bar to the top makes the filtered items visible (p3.jpg).
Any thoughts how would I need to modify the filtering process in order to "reset" the scrolled view, eg. the scrollbar positions? I haven't been able to find anything in the SDK doc.
Also, I'm wondering if there is a way to control the scrolling behaviour also by keyboard?
For my implementation you need to drag the scrollbars with the mouse, or use the mouse wheel. No keys.
Many thanks for your suggestions.
