1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

More MSVC warning fixes.

This commit is contained in:
jules 2013-06-16 10:46:51 +01:00
parent cc8662213b
commit 265fb0e8eb
4 changed files with 4 additions and 4 deletions

View file

@ -172,7 +172,7 @@ void DrawableText::paint (Graphics& g)
g.setFont (scaledFont);
g.setColour (colour);
g.drawFittedText (text, Rectangle<int> (w, h), justification, 0x100000);
g.drawFittedText (text, Rectangle<float> (w, h).getSmallestIntegerContainer(), justification, 0x100000);
}
Rectangle<float> DrawableText::getDrawableBounds() const