}
pCurProxy->GetMeasuredSize(curItemRect.w, curItemRect.h);
- AlignToDevice(curItemRect, curItemRect);
-
if (pCurItemInfo->__pTarget[EDGE_LEFT] != null)
{
r = GetTargetPosition(pCurItemInfo->__pTarget[EDGE_LEFT], pCurItemInfo->__targetEdge[EDGE_LEFT], targetPosition);
{
return r;
}
+ LayoutRect alignedRect;
+ AlignToDevice(curItemRect, alignedRect);
+ curItemRect.h = alignedRect.h;
curItemRect.y = targetPosition.y + curItemMargin.top;
}
return r;
}
+ LayoutRect alignedRect;
+ AlignToDevice(curItemRect, alignedRect);
+ curItemRect.h = alignedRect.h;
if (pCurItemInfo->__pTarget[EDGE_TOP] != null)
{
curItemRect.h = targetPosition.y - curItemRect.y - curItemMargin.bottom;