]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMPackageDescriptionPanel.cpp
index e332a560dea2f88e9dfecfc2b3ea889e096b02c7..d4348fa152fe9d4956fc3bf61d049d391550afa0 100644 (file)
@@ -180,18 +180,18 @@ void wxCDMPackageDescriptionPanel::CreateControls()
         {
 
           wxHyperlinkCtrl* pBBlk = new wxHyperlinkCtrl(BBPanel,ID_LINK_SELECT_BLACKBOX, crea::std2wx(blackBoxes[i]->GetName().c_str()), crea::std2wx(blackBoxes[i]->GetName().c_str()));
+          pBBlk->SetWindowStyle(wxALIGN_LEFT);
           std::string tt = "Author: " + blackBoxes[i]->GetAuthors() + "\nDescription: " + blackBoxes[i]->GetDescription() + "\nCategories: " + blackBoxes[i]->GetCategories();
           pBBlk->SetToolTip(crea::std2wx(tt));
           pBBlk->Connect(wxEVT_ENTER_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageDescriptionPanel::OnMouseEnter,NULL,this);
           pBBlk->Connect(wxEVT_LEAVE_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageDescriptionPanel::OnMouseExit,NULL,this);
-          BBPanelSizer -> Add(pBBlk, 0, wxALIGN_LEFT | wxALL, 5);
+          BBPanelSizer -> Add(pBBlk, 0, wxEXPAND | wxALL, 5);
         }
     }
 
   BBPanel->SetSizer(BBPanelSizer);
   BBPanelSizer->Fit(BBPanel);
-  BBBox->Add(BBPanel, 0, wxALL, 5);
-
+  BBBox->Add(BBPanel, 1, wxEXPAND | wxALL, 5);
   sizer -> Add(BBBox, 0, wxEXPAND | wxALL, 10);
 
   //Actions