X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Flayouting%2Fabsolute-layout-impl.cpp;h=8a635af1041005147df2d4dc66cd7cb9526634ba;hb=7098ad0a9a657b68b37d5fd759662a2d08b47433;hp=4cba410b92b49dc620e0a86af4bd3063ff660614;hpb=94a17596be5c49de1bd7f19b997b6625a4407083;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/layouting/absolute-layout-impl.cpp b/dali-toolkit/internal/layouting/absolute-layout-impl.cpp index 4cba410..8a635af 100644 --- a/dali-toolkit/internal/layouting/absolute-layout-impl.cpp +++ b/dali-toolkit/internal/layouting/absolute-layout-impl.cpp @@ -111,7 +111,7 @@ void AbsoluteLayout::OnMeasure( MeasureSpec widthMeasureSpec, MeasureSpec height // Store current width and height needed to contain all children. totalWidth = maxPositionX - minPositionX; totalHeight = maxPositionY - minPositionY; - DALI_LOG_INFO( gLogFilter, Debug::Concise, "AbsoluteLayout::OnMeasure child width(%f) height(%f) \n", totalWidth.AsFloat(), totalHeight.AsFloat() ); + DALI_LOG_INFO( gLogFilter, Debug::Concise, "AbsoluteLayout::OnMeasure child width(%f) height(%f) \n", totalWidth.AsDecimal(), totalHeight.AsDecimal() ); if( childLayout->GetMeasuredWidthAndState().GetState() == MeasuredSize::State::MEASURED_SIZE_TOO_SMALL ) { @@ -162,11 +162,9 @@ void AbsoluteLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top LayoutLength childTop = childPosition.y; LayoutLength childLeft = childPosition.x; - DALI_LOG_INFO( gLogFilter, Debug::General, "AbsoluteLayout::OnLayout child[%s] position(%f,%f) child width[%d] height(%d)\n", - Toolkit::Control::DownCast( childOwner ).GetName().c_str(), - childPosition.x, childPosition.y, - childWidth.mValue, childHeight.mValue - ); + DALI_LOG_STREAM( gLogFilter, Debug::General, + "AbsoluteLayout::OnLayout child[" << Toolkit::Control::DownCast( childOwner ).GetName().c_str() << + "] position(" << childPosition << ") child width[" << childWidth << "] height[" << childHeight << "]\n" ); childLayout->Layout( childLeft, childTop, childLeft + childWidth, childTop + childHeight ); }