starmath/source/ElementsDockingWindow.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 2a442f19faa52aef87e56d6bd3f8e38f7dec9572
Author: Tomaž Vajngerl <[email protected]>
Date:   Sat Jun 22 20:22:59 2013 +0200

    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 <[email protected]>
    Tested-by: Thomas Arnhold <[email protected]>

diff --git a/starmath/source/ElementsDockingWindow.cxx 
b/starmath/source/ElementsDockingWindow.cxx
index 1ad05fc..34427ab 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 );
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to