How many buttons do you have? If it’s only a few, then just have an OnClick event for each one. No need to go back to the vertical box.
If the buttons are dynamic, but there’s again only a few in use at a time, then again, you can have an OnClick for buttons 1 through N. As you add the buttons, you can bind the appropriate OnClick event. Each event is for a different index.
If you have lots of different buttons that are dynamic in the vertical box, then it’s usually easier to create a custom widget with button and info like I mentioned in my preview post. Again, you still don’t need to go back to the vertical box.
We just need to know the use case before going into more complicated stuff. And still not sure why you want to go back to the vertical box.