propertiesPanelSizer -> Add(propertiesGridSizer, 1, wxEXPAND);
propertiesPanel->SetSizer(propertiesPanelSizer);
propertiesPanelSizer->Fit(propertiesPanel);
- propertiesBox->Add(propertiesPanel, 0, wxALL, 5);
+ propertiesBox->Add(propertiesPanel, 1, wxALL|wxEXPAND, 5);
sizer->Add(propertiesBox, 0, wxEXPAND | wxALL, 10);