42 g.fillAll(getLookAndFeel().findColour(juce::ResizableWindow::ColourIds::backgroundColourId));
44 g.setColour(getLookAndFeel().findColour(juce::TextEditor::ColourIds::textColourId));
45 g.drawFittedText(
"Waiting for\n" + (m_serviceDescription.isNotEmpty() ? m_serviceDescription :
"UNKNOWN"), getLocalBounds().reduced(35), juce::Justification::centred, 2);
50 auto bounds = getLocalBounds();
51 if (bounds.getWidth() > bounds.getHeight())
52 bounds.reduce((bounds.getWidth() - bounds.getHeight()) / 2, 0);
54 bounds.reduce(0, (bounds.getHeight() - bounds.getWidth()) / 2);
56 auto progressIndicatorBounds = bounds;
57 progressIndicatorBounds.reduce(35, 35);
58 m_startupProgressIndicator->setBounds(progressIndicatorBounds);