Center text in a dialog button - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Center text in a dialog button

Hi,

I have an easy question, is there a style or attribute to center the text in dialog buttons. The text is centered in the “Back,” “Finish” and “Cancel” buttons. When I create a button the text is aligned left. I see other attributes, visible, RTLRO, but no alignment choice. I know I can center the text by adding spaces.

We are using Advanced Installer 6.0.1 with an enterprise license.

Thanks
Bob
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that the text of a button control is automatically centered. In order to set the text for a button you use the "Text" field in the "Properties" page of the button (is is shown in the right side of the AI windows when selecting the button).

If the problem persists please give me more details about how you are setting the text for the button.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”