starmath/source/ElementsDockingWindow.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
New commits: commit 90e4d69a4b0151ed3dfc4b56471ae5562c0b4060 Author: Tomaž Vajngerl <qui...@gmail.com> Date: Sat Jun 22 20:22:59 2013 +0200 fdo#65370 Dock ElementsDockingWindow to left at initial use and redraw Change-Id: I0a7648569541667bba80cffde978558a9206c089 diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 7e8d331..7e2115b 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -492,8 +492,6 @@ SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings, Sf maElementListBox.SelectEntry(OUString(SmResId(RID_CATEGORY_UNARY_BINARY_OPERATORS))); maElementsControl.setElementSetId(RID_CATEGORY_UNARY_BINARY_OPERATORS); - - Invalidate(); } SmElementsDockingWindow::~SmElementsDockingWindow () @@ -573,7 +571,11 @@ SmElementsDockingWindowWrapper::SmElementsDockingWindowWrapper( { pWindow = new SmElementsDockingWindow(pBindings, this, pParentWindow); SmElementsDockingWindow* pDialog = (SmElementsDockingWindow*) pWindow; - eChildAlignment = SFX_ALIGN_NOALIGNMENT; + pDialog->SetPosSizePixel(Point(0, 0), Size(300, 0)); + pDialog->Show(); + + eChildAlignment = SFX_ALIGN_LEFT; + pDialog->Initialize( pInfo ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits