Wrapping Widgets with Vertical Box inside Scroll Box doesn't work?

ok so first thing first drag a canvas panel into you hud canvas panel make sure it is marked as variable size of it dosen’t matter now we make a scroll widget delete its canvas panel now drag in a size box and at the top where it says fill screen change it to desired now set the size drag a scroll box and add 3 panels to the scroll leave them blank just name them and mark them as variable now make separate widgets that are just a custom size i did 400 by 400 now lets have some fun in your character blueprint we now wanna create a function call it WIDGETS now inside create each widget and set a reference to them put that to your construction script now make a key i pick N now drag in your scroll reference and right click on it now convert to a validated get on on is valid remove from parent and set mouse input to false is not valid get the widgets function cast to wherever you have you hud get a hud reference if you have it if not go back to where you created it and set a reference now we wanna get our scroll holder the blank canvas we add to the hud we wanna add our scroll as a child to that and set auto size and tick the true panel now we wanna add each vertical box as a child to the scroll when ever you wanna collapse one just simple get a different key or what ever and remove it from parent hope this helps

2 Likes