diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-06-22 20:22:59 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-06-22 20:25:43 +0200 |
commit | 90e4d69a4b0151ed3dfc4b56471ae5562c0b4060 (patch) | |
tree | b8a137eba16fba151d0b7988c111068eeeefcad0 /starmath | |
parent | fdo#66048: export cannot handle starting \\\" (diff) | |
download | core-90e4d69a4b0151ed3dfc4b56471ae5562c0b4060.tar.gz core-90e4d69a4b0151ed3dfc4b56471ae5562c0b4060.zip |
fdo#65370 Dock ElementsDockingWindow to left at initial use and redraw
Change-Id: I0a7648569541667bba80cffde978558a9206c089
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 7e8d331fe801..7e2115b053b5 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 ); } |