Skip to content

Conversation

@reimund
Copy link

@reimund reimund commented Aug 10, 2012

I added so that the height of the handle container is updated in the repaint method.

This makes sense if you programatically want to alter the size of your scrollable container after the fact.

EDIT: Made a few more changes to accommodate for a resized element:

  1. As the element is resized to be bigger than the content, the scroller gets hidden.
  2. If the user have scrolled down a bit, and then the element is resized so that the scroller is no longer needed, the content should be scrolled up so that the entire content can be seen.
  3. The scroller elements are always created, they are now hidden instead if the container is large enough for the entire content to be seen. The reason for this is that the scroller elements might be needed later if the container is made smaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant