From a2a4e18c107bdd434a0fbd60df35a3b9b0377b04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 23 Nov 2011 13:43:04 +0000 Subject: [PATCH] Make generic wxDataViewCtrl rows a bit taller. They now use the same height that Windows 7's Explorer uses. This makes more inline editor controls fit comfortably. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datavgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 562ead4d8e..2daef4e73c 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -1357,7 +1357,7 @@ wxDataViewMainWindow::wxDataViewMainWindow( wxDataViewCtrl *parent, wxWindowID i m_useCellFocus = false; m_currentRow = 0; - m_lineHeight = wxMax( 17, GetCharHeight() + 2 ); // 17 = mini icon height + 1 + m_lineHeight = wxMax( 17, GetCharHeight() + 4 ); // 17 = mini icon height + 1 #if wxUSE_DRAG_AND_DROP m_dragCount = 0; -- 2.45.2