[Libreoffice-commits] .: sc/source
Ivan Timofeev
ivantimofeev at kemper.freedesktop.org
Tue Apr 24 10:25:08 PDT 2012
sc/source/ui/navipi/navipi.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 1a87849f1971bf6802cc3d6395181b6ff0ceeed1
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Tue Apr 24 21:22:16 2012 +0400
fdo#34999: UI: Navigator row selector pane exceeds reserved grey area
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index c6d4afa..5eabf0a 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -675,7 +675,9 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
aTitleBase = GetText();
- long nListboxYPos = aTbxCmd.GetPosPixel().Y() + aTbxCmd.GetSizePixel().Height() + 4;
+ long nListboxYPos =
+ Max( aTbxCmd.GetPosPixel().Y() + aTbxCmd.GetSizePixel().Height(),
+ aEdRow.GetPosPixel().Y() + aEdRow.GetSizePixel().Height() ) + 4;
aLbEntries.SetPosSizePixel( 0, nListboxYPos, 0, 0, WINDOW_POSSIZE_Y);
nBorderOffset = aLbEntries.GetPosPixel().X();
More information about the Libreoffice-commits
mailing list