[Libreoffice-commits] .: sd/source
Ivan Timofeev
ivantimofeev at kemper.freedesktop.org
Fri Dec 9 09:32:22 PST 2011
sd/source/ui/dlg/navigatr.cxx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 15a14cdc33367269b4e6297ab8fb73524ac6bac8
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Fri Dec 9 21:23:50 2011 +0400
fdo#39528: do not lose height of tree list box in Navigator
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index a2a2691..84d2237 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() );
More information about the Libreoffice-commits
mailing list