vcl/source/control/button.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8444076007090fc521be256b91d8d8d9180386f6 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jan 20 14:26:25 2021 +0000 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Tue Jan 26 10:53:10 2021 +0100 RadioButton tick in a different place than CheckBox tick since... commit 302a00a3190743f5e6d2b61e5b40e493c4744b7e Date: Thu Jun 6 17:14:53 2019 +0900 tdf#124947 fix hit area of the radio buttons, size in ios theme so under gen in tools, options, load/save, microsoft office the radio in export as: shading is much higher than the create mso lock file checkmark Change-Id: Ib057c0725352f6a178df006e92024fedf9b82b79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109684 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index f84bbfb490bf..b84070e8487c 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1996,7 +1996,6 @@ void RadioButton::ImplDraw( OutputDevice* pDev, DrawFlags nDrawFlags, rMouseRect = tools::Rectangle(aPos, aSize); rMouseRect.SetLeft(rPos.X()); - rMouseRect.SetTop(rPos.Y()); rStateRect.SetLeft( rPos.X() ); rStateRect.SetTop( rMouseRect.Top() ); @@ -3011,8 +3010,9 @@ void CheckBox::ImplDraw( OutputDevice* pDev, DrawFlags nDrawFlags, ImplDrawAlignedImage( pDev, aPos, aSize, 1, nTextStyle ); - rMouseRect = tools::Rectangle( aPos, aSize ); + rMouseRect = tools::Rectangle( aPos, aSize ); rMouseRect.SetLeft( rPos.X() ); + rStateRect.SetLeft( rPos.X() ); rStateRect.SetTop( rMouseRect.Top() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits