]> Creatis software - bbtk.git/commitdiff
#3392 BBTK Bug New Normal - Initial widget size box LayoutLine
authorEduardo DAVILA <davila@localhost.localdomain>
Fri, 17 Apr 2020 05:30:06 +0000 (07:30 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Fri, 17 Apr 2020 05:30:06 +0000 (07:30 +0200)
packages/wx/src/bbwxLayoutLine.cxx

index ec937421d4a181b84c5f034d6924767dbdbcb2c4..b166737a4dc5fb888b2061759a95ff1554913bfb 100644 (file)
@@ -98,7 +98,7 @@ namespace bbwx
   void LayoutLine::CreateWidget(wxWindow* parent)
   {
     wxBoxSizer *sizer;
-    wxPanel *w=new wxPanel(parent, -1);
+    wxPanel *w=new wxPanel(parent, -1, wxDefaultPosition, wxSize(20,20) );
     w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
     
     int style=0;