From ddc87d66e8bfbb674d1e850dd92732c632042022 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 5 Apr 2020 15:51:35 +0200 Subject: [PATCH] Increase the size of the windows in the grid sample Make larger part of the grid visible initially and also show more lines in the log window. No real changes, this is purely cosmetic. --- samples/grid/griddemo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/grid/griddemo.cpp b/samples/grid/griddemo.cpp index 6de852ba6f..dd0536bbdb 100644 --- a/samples/grid/griddemo.cpp +++ b/samples/grid/griddemo.cpp @@ -432,7 +432,7 @@ GridFrame::GridFrame() grid = new wxGrid( this, wxID_ANY, wxPoint( 0, 0 ), - FromDIP(wxSize( 400, 300 )) ); + FromDIP(wxSize( 800, 450 )) ); #if wxUSE_LOG @@ -440,7 +440,7 @@ GridFrame::GridFrame() wxID_ANY, wxEmptyString, wxDefaultPosition, - wxDefaultSize, + wxSize(-1, 8*GetCharHeight()), wxTE_MULTILINE ); logger = new wxLogTextCtrl( logWin );