How do I change the justification of the AlertWindow text?

Hi all:

I have several AlertWindows that are inheriting my custom LookAndFeel (yay!) but have centered text (boo!). How do I change the justification of the message text?


Sean Costello

At the moment it’s done in LookAndFeel::drawAlertBox(), which is a bit of a PITA to overload, I have to admit…

Is it possible to call a different LookAndFeel for the AlertWIndow, without changing the LookAndFeel of the main component that the AlertWindow is called from?

You could create an AlertWindow, set its look and feel, and then show it…

This probably won’t work for the static AlertWindow methods, will it?

The static methods use default look and feel, so you could set that.