Make log window in the grid sample expand too
It is too small to show more than a few lines of logs otherwise.
This commit is contained in:
@@ -766,14 +766,10 @@ GridFrame::GridFrame()
|
||||
grid->Bind(wxEVT_CONTEXT_MENU, &GridFrame::OnGridContextMenu, this, grid->GetId());
|
||||
|
||||
wxBoxSizer *topSizer = new wxBoxSizer( wxVERTICAL );
|
||||
topSizer->Add( grid,
|
||||
1,
|
||||
wxEXPAND );
|
||||
topSizer->Add(grid, wxSizerFlags(2).Expand());
|
||||
|
||||
#if wxUSE_LOG
|
||||
topSizer->Add( logWin,
|
||||
0,
|
||||
wxEXPAND );
|
||||
topSizer->Add(logWin, wxSizerFlags(1).Expand());
|
||||
#endif // wxUSE_LOG
|
||||
|
||||
SetSizerAndFit( topSizer );
|
||||
|
Reference in New Issue
Block a user