RobustToolbox
RobustToolbox copied to clipboard
Adds API to ScrollContainers to be able to set the scroll handle position acurrately
What it says on the tin, basically adds 3 methods SetScrollValueToPercentage and a vertical and horizontal version that serve as wrappers for SetScrollValue
What do you need this for?
What do you need this for?
To access the scrollbar position methods, for example, I'm making a messenger PDA app and i want to scroll to the bottom when entering a profile or when sending/being sent a message
https://github.com/space-wizards/RobustToolbox/assets/60196617/9f3be7cc-5501-4570-9b8c-14b594156d7e
I assumed having access to the engine-side children of a control to change behavior was guzzy since things like AnimatedTextureRect.DisplayRect do it, is it a problem here?
It would be better API design to add a scroll-to-target API to ScrollContainer instead.
It would be better API design to add a scroll-to-target API to ScrollContainer instead.
Took a small break and did that