diff --git a/examples/Demo/Source/IntroScreen.cpp b/examples/Demo/Source/IntroScreen.cpp index a5cbf2866d..6f4ad7fa64 100644 --- a/examples/Demo/Source/IntroScreen.cpp +++ b/examples/Demo/Source/IntroScreen.cpp @@ -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: