Kaydet (Commit) 504b79c6 authored tarafından Caolán McNamara's avatar Caolán McNamara

hook SvxSimpleTableContainer child positioning off Resize

instead of SetSizePixel etc.

Change-Id: I17246821f1805bda9da0503e4fab05be5724512c
üst 5dc0c03f
......@@ -44,7 +44,8 @@ public:
void SetTable(SvxSimpleTable* pTable);
virtual void SetSizePixel(const Size& rNewSize);
virtual void Resize();
virtual void GetFocus();
};
......
......@@ -59,9 +59,9 @@ long SvxSimpleTableContainer::PreNotify( NotifyEvent& rNEvt )
return nResult;
}
void SvxSimpleTableContainer::SetSizePixel(const Size& rNewSize )
void SvxSimpleTableContainer::Resize()
{
Control::SetSizePixel(rNewSize);
Control::Resize();
if (m_pTable)
m_pTable->UpdateViewSize();
}
......
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