summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-06-22 20:22:59 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-24 08:56:18 +0000
commit2a442f19faa52aef87e56d6bd3f8e38f7dec9572 (patch)
tree30d054f9a11e480fdc71ec82ff97d7fbee800ded /starmath
parente34c72113363e942920e4f6d1557fe36656b208f (diff)
fdo#65370 Dock ElementsDockingWindow to left at initial use and redraw
Change-Id: I0a7648569541667bba80cffde978558a9206c089 Reviewed-on: https://gerrit.libreoffice.org/4449 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 1ad05fc2f141..34427abbda64 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -517,7 +517,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 );
}