1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Centre new project wizard on screen

This commit is contained in:
Felix Faire 2014-11-13 12:13:09 +00:00
parent afe5928467
commit 53d7060658

View file

@ -292,7 +292,7 @@ void MainWindow::showNewProjectWizard()
{
jassert (currentProject == nullptr);
setContentOwned (createNewProjectWizardComponent(), true);
setSize (900, 630);
centreWithSize(900, 630);
setVisible (true);
addToDesktop();
getContentComponent()->grabKeyboardFocus();