Hi.
Changing the colour of AlertWindow::textColourId does not reflect on the text colour in the AlertWindow.
These are the lines in LookAndFeel:drawAlertBox() which are responsible for the drawing of the text:
[code]g.setColour (alert.findColour (AlertWindow::textColourId));
textLayout.draw (g, Rectangle (textArea.getX() + iconSpaceUsed,
textArea.getY(),
textArea.getWidth() - iconSpaceUsed,
textArea.getHeight()).toFloat());[/code]
Is it possible that TextLayout::draw no longer affects the colour?
If so, do we need to use an AttributedString? I tried but there’s no way to get a hold of the text string…
Thanks.