Change-Id: I96273e3c3987117a52899a9209fcfef06c0254a4
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
Bitmap* pArrowBitmap = null;
Dimension screenSize = _ControlManager::GetInstance()->GetScreenSize();
- Point anchor(anchorF.x * screenSize.width, 0);
+ Point anchor(0, 0);
if (anchorF.y < 0.5f)
{
pArrowBitmap = __pArrowUpBitmap.get();
- anchor.y = 0;
}
else
{
anchor.y = popupBounds.height - pArrowBitmap->GetHeight();
}
+ anchor.x = (anchorF.x * screenSize.width) - (pArrowBitmap->GetWidth() / 2);
+
Rectangle bounds(anchor.x, anchor.y, pArrowBitmap->GetWidth(), pArrowBitmap->GetHeight());
if (pArrowBitmap->IsNinePatchedBitmap())