#StackBounty: #java #android #libgdx #ios Libgdx: Aligning buttons inside dialog

Bounty: 50

I have the following dialog, semi circle shape. I want to position buttons in it.

enter image description here

        dialog.button(closeButton, false);
        dialog.getContentTable().add(buttonS);
        dialog.getContentTable().add(button);
        dialog.getContentTable().add(hwTo);

The only way I am able to move a button is by using for a example

    dialog.getContentTable().add(hwTo).pad(300);

But I don’t want to pad anything, since it affects other buttons, I tried align, button.setPosition and whatnot, nothing works.

I was told to remove the table and ise Custom WidgetGroup.


Get this bounty!!!

Leave a Reply