]> git.saurik.com Git - wxWidgets.git/commitdiff
make the log dialog slightly taller when it is expanded to account for a possible...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Feb 2002 19:05:49 +0000 (19:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Feb 2002 19:05:49 +0000 (19:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index 382e9e1238360a0c0deaa6a0629592fc0209eb43..fd60b1f97223c4937c6e0eedfbf70e46939f2009 100644 (file)
@@ -870,7 +870,7 @@ void wxLogDialog::CreateDetailsControls()
     m_listctrl->SetColumnWidth(1, wxLIST_AUTOSIZE);
 
     // calculate an approximately nice height for the listctrl
-    int height = GetCharHeight()*(count + 2);
+    int height = GetCharHeight()*(count + 4);
 
     // but check that the dialog won't fall fown from the screen
     //