more tweaks to the margins: don't need them to be so big in vertical direction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-06-19 08:24:39 +00:00
parent 25466131ac
commit 1d39a12a30

View File

@@ -608,7 +608,7 @@ wxSize wxBitmapButton::DoGetBestSize() const
wxSize best(m_bmpNormal.GetWidth() +
margins.cxLeftWidth + margins.cxRightWidth + 5,
m_bmpNormal.GetHeight() +
margins.cyTopHeight + margins.cyBottomHeight + 5);
margins.cyTopHeight + margins.cyBottomHeight + 2);
CacheBestSize(best);
return best;
}