mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Fixed a minor warning.
This commit is contained in:
parent
861d3d9710
commit
6bb8bf3761
1 changed files with 3 additions and 3 deletions
|
|
@ -343,9 +343,9 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize)
|
|||
const int titleH = 24;
|
||||
const int iconWidth = 80;
|
||||
|
||||
LookAndFeel& lookAndFeel = getLookAndFeel();
|
||||
LookAndFeel& lf = getLookAndFeel();
|
||||
|
||||
const Font messageFont (lookAndFeel.getAlertWindowMessageFont());
|
||||
const Font messageFont (lf.getAlertWindowMessageFont());
|
||||
|
||||
const int wid = jmax (messageFont.getStringWidth (text),
|
||||
messageFont.getStringWidth (getName()));
|
||||
|
|
@ -357,7 +357,7 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize)
|
|||
int iconSpace = 0;
|
||||
|
||||
AttributedString attributedText;
|
||||
attributedText.append (getName(), lookAndFeel.getAlertWindowTitleFont());
|
||||
attributedText.append (getName(), lf.getAlertWindowTitleFont());
|
||||
|
||||
if (text.isNotEmpty())
|
||||
attributedText.append ("\n\n" + text, messageFont);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue