Skip to content

Commit

Permalink
#5154: Fix Edit Objectives window not adjusting its height to show al…
Browse files Browse the repository at this point in the history
…l of the component editing panel
  • Loading branch information
codereader committed Mar 30, 2020
1 parent 2e5d238 commit 3252137
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/dm.objectives/ComponentsDialog.cpp
Expand Up @@ -312,11 +312,8 @@ void ComponentsDialog::changeComponentEditor(Component& compToEdit)
// Pack the widget into the containing frame
_compEditorPanel->GetSizer()->Add(_componentEditor->getWidget(), 1, wxEXPAND | wxALL, 12);

_compEditorPanel->Layout();
_compEditorPanel->Fit();
findNamedObject<wxPanel>(this, "ObjCompMainPanel")->Layout();
findNamedObject<wxPanel>(this, "ObjCompMainPanel")->Fit();
Layout();
Fit();
}
}
Expand Down

0 comments on commit 3252137

Please sign in to comment.