1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Fixed a bounds bug in the JUCE demo intro screen

This commit is contained in:
ed 2018-02-13 15:23:38 +00:00
parent 9a6d05641d
commit 11c66c266f

View file

@ -55,10 +55,12 @@ public:
void resized() override
{
auto area = getLocalBounds().reduced (10);
auto bottomSlice = area.removeFromBottom (24);
linkButton.setBounds (bottomSlice.removeFromRight (getWidth() / 4));
versionLabel.setBounds (bottomSlice);
logo.setBounds (area);
area = area.removeFromBottom (24);
linkButton.setBounds (area.removeFromRight (getWidth() / 4));
versionLabel.setBounds (area);
}
private: