I have a VerticalGroup of Button on my screen. The problem is that the buttons are very close to each other. I want to add some spaces between the buttons, something like a pad or a field. I find the pad method in Table in the API, but VerticalGroup does not extend the table and therefore does not contain this method. Please tell me how I can add a space between buttons inside a VerticalGroup
Code example
VerticalGroup buttons = new VerticalGroup(); buttons.addActor(btn1); buttons.addActor(bnt2); // ... and so on
source share