update outputsize on parent resize and recalculate bounds
Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
This commit is contained in:
parent
2fd5e3ad37
commit
4c5e4c47de
1 changed files with 3 additions and 3 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue