From 15a14cdc33367269b4e6297ab8fb73524ac6bac8 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Fri, 9 Dec 2011 21:23:50 +0400 Subject: [PATCH] fdo#39528: do not lose height of tree list box in Navigator --- sd/source/ui/dlg/navigatr.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index a2a26910c642..84d223773911 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -555,10 +555,11 @@ void SdNavigatorWin::Resize() maToolbox.SetOutputSizePixel( aObjSize ); // Umgroessern der TreeLB - aObjSize = maTlbObjects.Control::GetOutputSizePixel(); + aObjSize = maTlbObjects.GetSizePixel(); aObjSize.Width() += aDiffSize.Width(); - aObjSize.Height() += aDiffSize.Height(); - maTlbObjects.SetOutputSizePixel( aObjSize ); + aObjSize.Height() = maLbDocs.GetPosPixel().Y() + aDiffSize.Height() - + maTlbObjects.GetPosPixel().Y() - 4; + maTlbObjects.SetSizePixel( aObjSize ); Point aPt( 0, aDiffSize.Height() );