X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainDescriptionPanel.cpp;h=41daf68640a7484c386aba72f6255635b0e75b87;hb=71c071fbb1e2af618f6caa489351b966e1a54b1a;hp=d7f10aed26ef61fd6f3bebf402ecca8a7744247c;hpb=11ddb2799cdae68c7220b71e6836b97498b6ce62;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp index d7f10ae..41daf68 100644 --- a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp @@ -74,6 +74,10 @@ bool wxCDMMainDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + //to scroll + this->FitInside(); // ask the sizer about the needed size + this->SetScrollRate(5, 5); + CreateControls(); return TRUE; }