diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-17 12:27:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-17 13:05:30 +0000 |
commit | 2b34b48aacc10cbe256064f7606a114e232f3695 (patch) | |
tree | 30a1f59d6c4e087fdc57492af201c5f7e64ca4ea /starmath | |
parent | 29ebb0ea9dd5371a4951ca55b88f7bebf85d04b9 (diff) |
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
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { |