diff options
-rw-r--r-- | icon-themes/galaxy/cmd/bg/lc_backcolor.png | bin | 602 -> 565 bytes | |||
-rw-r--r-- | icon-themes/galaxy/cmd/lc_extrusion3dcolor.png | bin | 474 -> 599 bytes | |||
-rw-r--r-- | svx/source/tbxctrls/tbxcolorupdate.cxx | 3 |
3 files changed, 2 insertions, 1 deletions
diff --git a/icon-themes/galaxy/cmd/bg/lc_backcolor.png b/icon-themes/galaxy/cmd/bg/lc_backcolor.png Binary files differindex 52f5acb7d011..bcaa7543b0a6 100644 --- a/icon-themes/galaxy/cmd/bg/lc_backcolor.png +++ b/icon-themes/galaxy/cmd/bg/lc_backcolor.png diff --git a/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png b/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png Binary files differindex db38817eda47..d192b80ccf12 100644 --- a/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png +++ b/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx index c0f199aebfc8..c773a1c6ca66 100644 --- a/svx/source/tbxctrls/tbxcolorupdate.cxx +++ b/svx/source/tbxctrls/tbxcolorupdate.cxx @@ -158,7 +158,8 @@ namespace svx } if (maBmpSize.Width() == maBmpSize.Height()) - maUpdRect = Rectangle(Point( 0, maBmpSize.Height() * 3 / 4), Size(maBmpSize.Width(), maBmpSize.Height() / 4)); + // tdf#84985 align color bar with icon bottom edge; integer arithmetic e.g. 26 - 26/4 <> 26 * 3/4 + maUpdRect = Rectangle(Point( 0, maBmpSize.Height() - maBmpSize.Height() / 4), Size(maBmpSize.Width(), maBmpSize.Height() / 4)); else maUpdRect = Rectangle(Point( maBmpSize.Height() + 2, 2), Point(maBmpSize.Width() - 3, maBmpSize.Height() - 3)); |