AlertWindow - with rounded corners?

Hi Folks!

Does anybody know how to make a instance of AlertWindow appear with rounded corners?

Thanks in advance!

Pete

IIRC all you need to do is override drawAlertBox() in your LookAndFeel, and draw the background using Graphics::fillRoundedRectangle().

1 Like

Aha! Silly me - I should have thought. Many thanks!!

Pete

I tried that, but I get an ugly dark fill around the rounded corners!

Try setOpaque(false)?

1 Like

Thanks, David!!!