Skip to content

Add a few new methods to Scroll#1635

Merged
cmyr merged 2 commits intomasterfrom
new-scroll-methods
Mar 8, 2021
Merged

Add a few new methods to Scroll#1635
cmyr merged 2 commits intomasterfrom
new-scroll-methods

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 cmyr force-pushed the new-scroll-methods branch from f841d78 to f1de49d Compare March 5, 2021 16:23
@cmyr cmyr added the S-needs-review waits for review label Mar 7, 2021
@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.
@cmyr cmyr force-pushed the new-scroll-methods branch from f1de49d to 590de91 Compare March 7, 2021 21:45
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