[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - starmath/source
Tomaž Vajngerl
quikee at gmail.com
Mon Jun 24 01:56:37 PDT 2013
starmath/source/ElementsDockingWindow.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 2a442f19faa52aef87e56d6bd3f8e38f7dec9572
Author: Tomaž Vajngerl <quikee at 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
Reviewed-on: https://gerrit.libreoffice.org/4449
Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
Tested-by: Thomas Arnhold <thomas at arnhold.org>
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 );
}
More information about the Libreoffice-commits
mailing list