Kaydet (Commit) b11d022a authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#67344 wrong relative menu position

Change-Id: I4a0cc610cc3c6a9c4164a69d40a9b0230aa702a4
üst 959e00cb
...@@ -67,7 +67,7 @@ void Popup::Show (ToolBox& rToolBox) ...@@ -67,7 +67,7 @@ void Popup::Show (ToolBox& rToolBox)
{ {
mpContainer->SetSizePixel(mpControl->GetOutputSizePixel()); mpContainer->SetSizePixel(mpControl->GetOutputSizePixel());
const Point aPos (mpParent->OutputToScreenPixel(rToolBox.GetPosPixel())); const Point aPos (rToolBox.GetParent()->OutputToScreenPixel(rToolBox.GetPosPixel()));
const Size aSize (rToolBox.GetSizePixel()); const Size aSize (rToolBox.GetSizePixel());
const Rectangle aRect (aPos, aSize); const Rectangle aRect (aPos, aSize);
......
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