summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2011-12-09 21:23:50 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-09 21:25:02 +0400
commit15a14cdc33367269b4e6297ab8fb73524ac6bac8 (patch)
treefb7b0a22cd4852d39eefd38826164b0708440030 /sd
parent27f83e9f32b53c03f516aab1bacb20cebd670440 (diff)
fdo#39528: do not lose height of tree list box in Navigator
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/navigatr.cxx7
1 files 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() );