sc/source/ui/cctrl/checklistmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0340125f912294c76ab409480f5aadecf8aada04 Author: Ivan Timofeev <timofeev....@gmail.com> Date: Tue Nov 5 21:50:34 2013 +0400 fdo#71120: use native checkbox height Change-Id: I5d112660015f993856b0709f6a5db2baf521d745 diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 30b4b0c..2cde8eb 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -970,7 +970,7 @@ void ScCheckListMenuWindow::getSectionPosSize( break; case CHECK_TOGGLE_ALL: { - long h = nLabelHeight*3/2; // check box height is heuristically 150% of the text height. + long h = std::min(maChkToggleAll.CalcMinimumSize().Height(), 26L); rPos = Point(nListBoxMargin, nSingleBtnAreaY); rPos.X() += 5; rPos.Y() += (nSingleItemBtnAreaHeight - h)/2; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits