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 a few new methods to Scroll #1635

Merged
merged 2 commits into from
Mar 8, 2021
Merged

Add a few new methods to Scroll #1635

merged 2 commits into from
Mar 8, 2021

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Mar 5, 2021

These make it possible to configure a few more aspects of the
scrollview's behaviour after it is created.

This will be used for upcoming changes to the textbox.

This also relaxes the type constraints required for some methods.

based off of #1630

This adds a flag that forces the child to be at least as large
as the parent, which is a common behaviour for scroll views.

I'm playing around with using this with the textbox, instead
of having our own manual scroll implementation.
@cmyr
Copy link
Member Author

cmyr commented Mar 7, 2021

@jneem @ForLoveOfCats either of you have any concerns with this?

Copy link
Collaborator

@ForLoveOfCats ForLoveOfCats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objections. Perhaps they should get a changelog entry where appropriate?

@cmyr
Copy link
Member Author

cmyr commented Mar 7, 2021

Oh good call I keep forgetting about the changelog 😬

These make it possible to configure a few more aspects of the
scrollview's behaviour after it is created.

This will be used for upcoming changes to the textbox.
Base automatically changed from clipbox-must-fill to master March 8, 2021 18:06
@cmyr cmyr merged commit 00001eb into master Mar 8, 2021
@cmyr cmyr deleted the new-scroll-methods branch March 8, 2021 18:06
@maan2003 maan2003 removed the S-needs-review waits for review label May 3, 2021
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.

3 participants