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

Compiler compatibility changes. Minor clean-ups. Linux windowing tweaks.

This commit is contained in:
Julian Storer 2010-03-29 14:22:11 +01:00
parent bca84263a4
commit 4f704c4d33
33 changed files with 687 additions and 834 deletions

View file

@ -164,10 +164,9 @@ void FileChooserDialogBox::ContentComponent::resized()
{
getLookAndFeel().createFileChooserHeaderText (getName(), instructions, text, getWidth());
float left, top, right, bottom;
text.getBoundingBox (0, text.getNumGlyphs(), left, top, right, bottom, false);
const Rectangle<float> bb (text.getBoundingBox (0, text.getNumGlyphs(), false));
const int y = roundToInt (bottom) + 10;
const int y = roundToInt (bb.getBottom()) + 10;
const int buttonHeight = 26;
const int buttonY = getHeight() - buttonHeight - 8;