From ad769c30d2a709786a769f75fa5e04b33edf0809 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 17 Sep 2017 15:38:06 +0300 Subject: 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 --- starmath/uiconfig/smath/ui/dockingelements.ui | 1 - 1 file changed, 1 deletion(-) (limited to 'starmath/uiconfig') diff --git a/starmath/uiconfig/smath/ui/dockingelements.ui b/starmath/uiconfig/smath/ui/dockingelements.ui index 652ae360d439..01ef235c60a6 100644 --- a/starmath/uiconfig/smath/ui/dockingelements.ui +++ b/starmath/uiconfig/smath/ui/dockingelements.ui @@ -3,7 +3,6 @@ - True False True True -- cgit