Hello.
I've been trying to get this setup working using the Basic Standard Dialogue UI as reference (not modifying it directly). Response buttons are templates so they're auto-created and I got the scrollbar enabler working. Everything ok.
In this setup the responses build up from the bottom, so they're always attached to the dialogue box, but the "main" response is always on top of the list (Response 1). However, if the list is big enough to enable the scrollbar, it doesn't start from the top where Response 1 is.
Is there any way to make it work from the Dialogue System options or Unity UI components? Or does this need coding?
Thanks in advance!
Multiple responses with scrollbar not starting from the top
Re: Multiple responses with scrollbar not starting from the top
Hi,
Here's a patch for that:
DS_MenuScrollbarPatch_2023-02-10.unitypackage
Make sure your response menu panel's StandardUIMenuPanel component > OnContentChanged() event calls ScrollbarEnabler.CheckScrollbar.
Here's a patch for that:
DS_MenuScrollbarPatch_2023-02-10.unitypackage
Make sure your response menu panel's StandardUIMenuPanel component > OnContentChanged() event calls ScrollbarEnabler.CheckScrollbar.
Re: Multiple responses with scrollbar not starting from the top
Works like a charm, thanks a lot!