X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaDevManagerLib%2FwxCDMMainHelpDialog.cpp;h=1749dc102c2f907023e15e7a5258483a937f41a9;hb=35dd4d1ddf73a91d308cc49fc394104169936055;hp=6223d542ae74a77f934b13ceadf7340e04721db4;hpb=82535c727c13786bc29fc0f0e73aca927d77b8fe;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainHelpDialog.cpp b/lib/creaDevManagerLib/wxCDMMainHelpDialog.cpp index 6223d54..1749dc1 100644 --- a/lib/creaDevManagerLib/wxCDMMainHelpDialog.cpp +++ b/lib/creaDevManagerLib/wxCDMMainHelpDialog.cpp @@ -80,6 +80,7 @@ bool wxCDMMainHelpDialog::Create( void wxCDMMainHelpDialog::CreateControls() { + wxBoxSizer* v_sizer1 = new wxBoxSizer(wxVERTICAL); @@ -92,29 +93,27 @@ void wxCDMMainHelpDialog::CreateControls() crea::std2wx( "This application was made to help you in the creation process of Crea projects. This help dialogs will explain what " "each part of the program does and will give you tips to get your project up and running in no time. You can disable " - "them by checking the \"Disable Help\" option, you can also enable it at any time checking the \"Help Dialogs\" " - "option in the Help menu.\n To begin working on your projects you can either create a new project or open an already " - "existing project.\n" - "\n" - "Select an action or click Close to continue working on the project."), + "them by checking the \"Disable Help\" option, or you can also enable or disable them at any time checking the \"Help " + "Dialogs\" option in the Help menu.\n To begin working on your projects you can either create a new project or open an " + "already existing project.\n"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT ); v_sizer1->Add(instruction, 0,wxEXPAND | wxALL, 5); - wxFlexGridSizer* formItems = new wxFlexGridSizer(1,2,9,15); - - wxButton* createPackageBtn = new wxButton(this, ID_BUTTON_NEWPROJECT, wxT("New Project")); - wxButton* editCMakeBtn= new wxButton(this, ID_BUTTON_OPENPROJECT, wxT("Open Project")); - - formItems->Add(createPackageBtn, 1, wxALIGN_CENTER); - formItems->Add(editCMakeBtn, 1, wxALIGN_CENTER); - - formItems->AddGrowableCol(0,1); - formItems->AddGrowableCol(1,1); - - v_sizer1->Add(formItems, 1, wxEXPAND | wxALL, 15); +// wxFlexGridSizer* formItems = new wxFlexGridSizer(1,2,9,15); +// +// wxButton* createPackageBtn = new wxButton(this, ID_BUTTON_NEWPROJECT, wxT("New Project")); +// wxButton* editCMakeBtn= new wxButton(this, ID_BUTTON_OPENPROJECT, wxT("Open Project")); +// +// formItems->Add(createPackageBtn, 1, wxALIGN_CENTER); +// formItems->Add(editCMakeBtn, 1, wxALIGN_CENTER); +// +// formItems->AddGrowableCol(0,1); +// formItems->AddGrowableCol(1,1); +// +// v_sizer1->Add(formItems, 1, wxEXPAND | wxALL, 15); v_sizer1->Add(new wxCheckBox(this, ID_CHECKBOX_DISABLE_HELP, wxT("&Disable help")), 0, wxALIGN_RIGHT | wxRIGHT, 10);