fdo#39528: do not lose height of tree list box in Navigator

This commit is contained in:
Ivan Timofeev 2011-12-09 21:23:50 +04:00
parent 27f83e9f32
commit 15a14cdc33

View file

@ -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() );