diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-17 15:38:06 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-24 15:37:27 +0300 |
commit | ad769c30d2a709786a769f75fa5e04b33edf0809 (patch) | |
tree | 61fbd73f47b8fc5392e600ab33a2456bddc0a07f /include/vcl | |
parent | 506f7a5e2b6af0f2bdebab257a0c8ea33e0058fb (diff) |
Adjust DockingWindow layout calculation, tdf#106762 prep
This is needed for the color widget to have the correct size at
initial show, and to keep this size after selecting a different
palette.
The parent FloatingWindow will assume that the border width stays
outside the space that was allocated to the DockingWindow (see
VclContainer::setLayoutPosSize), and yet DockingWindow tries to
handle the border width as part of its allocated space. One option
could be to let FloatingWindow handle this alone, but this won't
work for other possible parents. The current solution is to load
and store the border width in a way that can be used internally,
but not visible to the outside world via get_border_width().
Change-Id: Id51152cf64eef719368e29253eb93e99834489cd
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/dockwin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 92637db78771..723aef49d4a6 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -244,7 +244,7 @@ protected: private: SAL_DLLPRIVATE void ImplInitDockingWindowData(); - SAL_DLLPRIVATE void setPosSizeOnContainee(Size aSize, Window &rBox); + SAL_DLLPRIVATE void setPosSizeOnContainee(); DECL_DLLPRIVATE_LINK( ImplHandleLayoutTimerHdl, Timer*, void ); DockingWindow (const DockingWindow &) = delete; |