I have a stack with a simple scrolling text field in it that could potentially have a huge amount of text in it (50,000 words or more.) Think like perhaps a text/document editor that someone is using to write a book. (desktop app, Mac target for now)
When lots of text is in that field, resizing the stack is slow and choppy. The more text, the more choppy. I'm on a brand new M1 MacBook Pro so I don't think it's laptop resources.
I've tried using geometry as well as simply this in onResizeStack (generic test app with just the one field in it):
Code: Select all
set the rect of field "Field" of card id 1002 of me to the rect of card id 1002 of me
The thought crossed my mind to use a data grid to masquerade as a text field but wanted other opinions before I dip into that one. I've put 20,000 items in a data grid during a test and resizing the stack is barely affected, presumably due to how it only renders what's in view.
Thanks!