Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add grid granularity to avoid frequent updates when typing at the edge #75

Open
dimitar-asenov opened this issue Jan 26, 2015 · 0 comments

Comments

@dimitar-asenov
Copy link
Owner

When growing a child object positioned using GridLayouter, the grid will be enlarged with every edit, which causes all other items in the grid to be potentially updated and redrawn.

To reduce the frequency of this costly operation, we could introduce a granularity to GridLayouter. It's size could be a multiple of the granularity which will buffer some of the size changes of child elements. To simplify the API the granularity could be determined based on the space between columns/rows.

@dimitar-asenov dimitar-asenov changed the title Add grid granularity to avoid frequent updates when typing at the edge. Add grid granularity to avoid frequent updates when typing at the edge Jan 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant