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:
@@ -608,7 +608,7 @@ wxSize wxBitmapButton::DoGetBestSize() const
|
|||||||
wxSize best(m_bmpNormal.GetWidth() +
|
wxSize best(m_bmpNormal.GetWidth() +
|
||||||
margins.cxLeftWidth + margins.cxRightWidth + 5,
|
margins.cxLeftWidth + margins.cxRightWidth + 5,
|
||||||
m_bmpNormal.GetHeight() +
|
m_bmpNormal.GetHeight() +
|
||||||
margins.cyTopHeight + margins.cyBottomHeight + 5);
|
margins.cyTopHeight + margins.cyBottomHeight + 2);
|
||||||
CacheBestSize(best);
|
CacheBestSize(best);
|
||||||
return best;
|
return best;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user