summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-26 15:24:20 +0000
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-04 17:00:20 +0000
commit86f38a7af647a154ecfe12b90500e6c060793cf2 (patch)
tree483c760045e61793abac69d2bc84d35e0a924284
parent1086ed32aacd2d6f9e98514f052567c1a9fc17fd (diff)
Resolves: fdo#85590 'Pick a color' circle location is incorrect when opened
Change-Id: I18a00d0ab7acc30f4751c0e19cceffefdce90474 (cherry picked from commit 7716d86f46dea72bd0e99f7074f718d558e88f49) (cherry picked from commit 037e65cbdd76dc06593a43adbd72427c8765736c) Reviewed-on: https://gerrit.libreoffice.org/13135 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--cui/source/dialogs/colorpicker.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index a44c4c07536e..644cd73bf2b8 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -623,6 +623,7 @@ void ColorFieldControl::Paint( const Rectangle& rRect )
void ColorFieldControl::Resize()
{
UpdateBitmap();
+ UpdatePosition();
Control::Resize();
}