Kaydet (Commit) 4c5e4c47 authored tarafından Caolán McNamara's avatar Caolán McNamara

update outputsize on parent resize and recalculate bounds

Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
üst 2fd5e3ad
......@@ -1315,8 +1315,8 @@ void SvImpLBox::InitScrollBarBox()
void SvImpLBox::Resize()
{
Size aSize( pView->Control::GetOutputSizePixel());
if( aSize.Width() <= 0 || aSize.Height() <= 0 )
aOutputSize = pView->Control::GetOutputSizePixel();
if( aOutputSize.Width() <= 0 || aOutputSize.Height() <= 0 )
return;
nFlags |= F_IN_RESIZE;
InitScrollBarBox();
......@@ -1324,7 +1324,7 @@ void SvImpLBox::Resize()
if( pView->GetEntryHeight())
{
AdjustScrollBars( aOutputSize );
FillView();
UpdateAll(false);
}
// HACK, as in floating and docked windows the scrollbars might not be drawn
// correctly/not be drawn at all after resizing!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment