Setting alignment of DirectDialog buttons

Hello,

Is there any way to set the alignment of the button/s which appear/s on a DirectDialog widget? E.g. on the OKDialog option, the button always appears centred but I would rather it was right aligned (I am using an image for the button but even if it was just text I would like this).

How is this achieved?

Thank you
Greg

There are lots of button options in DirectDialog, but I don’t see anything there to make the buttons appear on the right instead of in the center. You might need to make your own dialog object instead of relying on the convenience of DirectDialog.

David

You can also set its "pos = " by getting how big the screen is, then doing a little math, to get the center or the right side of the screen.