X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMApplicationDescriptionPanel.cpp;h=5b63f239e3c2f1ae3a5beb28e67fe739fb299cfc;hb=0cc6a7e002ad79de9453517108d7456fd44ddfdb;hp=9f91b854fe918fffa389f0ac424e1c5491cd2975;hpb=1841853d0641ad2c482ab8a2a6814fc05b2f6eba;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp index 9f91b85..5b63f23 100644 --- a/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp @@ -151,7 +151,7 @@ void wxCDMApplicationDescriptionPanel::CreateControls() //Includes wxStaticBoxSizer* includesBox = new wxStaticBoxSizer(wxHORIZONTAL, this, wxT("&Used Libraries")); - includesBox->SetMinSize(250,250); + includesBox->SetMinSize(200,250); wxScrolledWindow* includesPanel = new wxScrolledWindow(this); wxBoxSizer* includesPanelSizer = new wxBoxSizer(wxVERTICAL); @@ -191,7 +191,14 @@ void wxCDMApplicationDescriptionPanel::CreateControls() wxCheckBox* ChBIncl = new wxCheckBox( includesPanel, ID_CHECK_INCLUDE_3RDLIBRARY, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT ); - ChBIncl->SetToolTip(crea::std2wx("When this box is checked the " + it->first + " library is included in the project configuration for this application.")); + ChBIncl->SetToolTip(crea::std2wx( + "When this box is checked the " + it->first + " library\n" + "is included in the project configuration for\n" + "this application including the following instruction\n" + "in the application's folder CMakeLists.txt file:\n" + "SET ( ${LIBRARY_NAME}_LINK_LIBRARIES\n" + " ${" + it->first+ "_LIBRARIES}\n" + ")")); ChBIncl->SetName(crea::std2wx(it->first)); ChBIncl->SetValue(it->second); includesGridSizer->Add(ChBIncl, 1, wxEXPAND); @@ -240,7 +247,17 @@ void wxCDMApplicationDescriptionPanel::CreateControls() wxCheckBox* ChBIncl = new wxCheckBox( includesPanel, ID_CHECK_INCLUDE_LIBRARY, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT ); - ChBIncl->SetToolTip(crea::std2wx("When this box is checked the " + it->first + " custom library is included in the project configuration for this application.")); + ChBIncl->SetToolTip(crea::std2wx( + "When this box is checked the " + it->first + " custom\n" + "library is included in the project configuration for\n" + "this application including the following code in the\n" + "application's folder CMakeLists.txt file:\n" + "INCLUDE_DIRECTORIES (\n" + " ../../lib/"+ it->first + "\n" + ")\n" + "SET ( ${EXE_NAME}_LINK_LIBRARIES\n" + " " + it->first+ "\n" + ")")); ChBIncl->SetName(crea::std2wx(it->first)); ChBIncl->SetValue(it->second); includesLibGridSizer->Add(ChBIncl, 1, wxEXPAND);