From 2b34b48aacc10cbe256064f7606a114e232f3695 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 17 Dec 2014 12:27:14 +0000 Subject: try to get reasonable sizes for docking windows start docked, move to undocked start undocked, move to dock, back to undocked start undocked, with and without size saved in settings and restored Change-Id: I0bfdceb11aabdf9fdb855b97433b2af0532e4d03 --- starmath/source/ElementsDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 4cb086968cb7..9e4ade671fc1 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -624,7 +624,7 @@ void SmElementsControl::build() Size SmElementsControl::GetOptimalSize() const { - return LogicToPixel(Size(300, 300), MapMode(MAP_APPFONT)); + return LogicToPixel(Size(100, 100), MapMode(MAP_APPFONT)); } const sal_uInt16 SmElementsDockingWindow::aCategories[] = { -- cgit