make the log dialog slightly taller when it is expanded to account for a possible horz scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -870,7 +870,7 @@ void wxLogDialog::CreateDetailsControls()
|
|||||||
m_listctrl->SetColumnWidth(1, wxLIST_AUTOSIZE);
|
m_listctrl->SetColumnWidth(1, wxLIST_AUTOSIZE);
|
||||||
|
|
||||||
// calculate an approximately nice height for the listctrl
|
// 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
|
// but check that the dialog won't fall fown from the screen
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user