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:
parent
9a6d05641d
commit
11c66c266f
1 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue