Kaydet (Commit) e7e1d50f authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Caolán McNamara

Resolves tdf#88485: Allow to select rightmost symbols in the dialog

by adjusting target area with proper offsets.

Change-Id: I66100c898354909623991c3af3e78287d6f5a9a0
Reviewed-on: https://gerrit.libreoffice.org/23147Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9048e7f5
...@@ -1186,6 +1186,8 @@ void SmShowSymbolSetWindow::MouseButtonDown(const MouseEvent& rMEvt) ...@@ -1186,6 +1186,8 @@ void SmShowSymbolSetWindow::MouseButtonDown(const MouseEvent& rMEvt)
GrabFocus(); GrabFocus();
Size aOutputSize(nColumns * nLen, nRows * nLen); Size aOutputSize(nColumns * nLen, nRows * nLen);
aOutputSize.Width() += nXOffset;
aOutputSize.Height() += nYOffset;
Point aPoint(rMEvt.GetPosPixel()); Point aPoint(rMEvt.GetPosPixel());
aPoint.X() -= nXOffset; aPoint.X() -= nXOffset;
aPoint.Y() -= nYOffset; aPoint.Y() -= nYOffset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment