Browse Source

Introjucer "new project" UX Update

Changed the default GUI App wizard to make a window component by
default.
Widened the project creator to stop the text squishing
tags/2021-05-28
Felix Faire 11 years ago
parent
commit
afe5928467
4 changed files with 9 additions and 4 deletions
  1. +1
    -1
      extras/Introjucer/Source/Application/jucer_MainWindow.cpp
  2. +3
    -1
      extras/Introjucer/Source/Wizards/jucer_NewProjectWizard.h
  3. +4
    -1
      extras/Introjucer/Source/Wizards/jucer_ProjectWizard_GUIApp.h
  4. +1
    -1
      extras/Introjucer/Source/Wizards/jucer_StartPageComponent.h

+ 1
- 1
extras/Introjucer/Source/Application/jucer_MainWindow.cpp View File

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


+ 3
- 1
extras/Introjucer/Source/Wizards/jucer_NewProjectWizard.h View File

@@ -27,7 +27,7 @@
//==============================================================================
static void createFileCreationOptionComboBox (Component& setupComp,
static ComboBox& createFileCreationOptionComboBox (Component& setupComp,
OwnedArray<Component>& itemsCreated,
const StringArray& fileOptions)
{
@@ -43,6 +43,8 @@ static void createFileCreationOptionComboBox (Component& setupComp,
itemsCreated.add (l);
c->setBounds ("parent.width / 2 + 160, 30, parent.width - 30, top + 22");
return *c;
}
static int getFileCreationComboResult (WizardComp& setupComp)


+ 4
- 1
extras/Introjucer/Source/Wizards/jucer_ProjectWizard_GUIApp.h View File

@@ -38,7 +38,10 @@ struct GUIAppWizard : public NewProjectWizard
TRANS("Don't create any files") };
createFileCreationOptionComboBox (setupComp, itemsCreated,
StringArray (fileOptions, numElementsInArray (fileOptions)));
StringArray (fileOptions, numElementsInArray (fileOptions)))
.setSelectedId (2);
}
Result processResultsFromSetupItems (WizardComp& setupComp)


+ 1
- 1
extras/Introjucer/Source/Wizards/jucer_StartPageComponent.h View File

@@ -28,7 +28,7 @@ class StartPageComponent : public Component
public:
StartPageComponent()
{
setSize (800, 650);
setSize (900, 650);
WizardComp* projectWizard = new WizardComp();


Loading…
Cancel
Save