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:
parent
bca84263a4
commit
4f704c4d33
33 changed files with 687 additions and 834 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue