Change-Id: I41f58f13d50528266974cc78b974eebdcc9e08f3
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
}
}
+ switch( mLayoutEngine.GetVerticalAlignment() )
+ {
+ case LayoutEngine::VERTICAL_ALIGN_TOP:
+ {
+ cursorPosition.y = 0.f;
+ break;
+ }
+ case LayoutEngine::VERTICAL_ALIGN_CENTER:
+ {
+ cursorPosition.y = floorf( 0.5f * ( mControlSize.height - lineHeight ) );
+ break;
+ }
+ case LayoutEngine::VERTICAL_ALIGN_BOTTOM:
+ {
+ cursorPosition.y = mControlSize.height - lineHeight;
+ break;
+ }
+ }
+
mEventData->mDecorator->SetPosition( PRIMARY_CURSOR,
cursorPosition.x,
cursorPosition.y,