-
Notifications
You must be signed in to change notification settings - Fork 87
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
Issue - Scrolling Object Collection does not hide #59
Comments
Hi @shukenmg , can you share your setup? I'm assuming you have an actor with the UI Element and a child actor with the Scrolling Object Collection? What is the Scroll Box for you, the Back Plate component? |
Thats right, I then spawn (premade with custom code) UXT Button actors using the Spawn Actor node and then used the add actor to collection node to add them to the Scrolling box and then attach the button to the scrolling box component. |
I made a temp workaround by modifying the ResetCollectionVisibility function to check if its parent UI Element component is hidden before Showing/Hiding the Actors:
Is to ensure that the Scrolling Box is set up correctly since if some buttons are hidden during Init the bounds calculation breaks. |
If that's working for you I'm going to leave work on this issue paused. We are on minimum maintenance mode for the time being and have to be selective about how we spend our limited resources. Eventually, I think the way forward is to make Scrolling Object Collection derive from UI Element. I'll leave this issue open to account for the need for that work. |
Got it, thank you! |
I have a UxtScrollingObjectCollection under a UxtUIElementComponent
and the Scroll Box won't hide when setting UxtUIElementComponent 's visibility to Hide.
The text was updated successfully, but these errors were encountered: