diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-24 21:22:16 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-24 21:24:29 +0400 |
commit | 1a87849f1971bf6802cc3d6395181b6ff0ceeed1 (patch) | |
tree | aa630014d175aa8a04e34492ada5a7680cce4ab8 | |
parent | 009920703bfd5426588ee575b94231064c4b45df (diff) |
fdo#34999: UI: Navigator row selector pane exceeds reserved grey area
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index c6d4afa0eed4..5eabf0a8e1e6 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(); |