X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fcore-impl.cpp;h=ae5a35af166a58447bbe454cdec30cf2754ae819;hb=85a80d48b8627b6029033b9e70776edf7678393f;hp=53378e020459b5b189442bd1926b422b6e25960f;hpb=10ef5ef1fff23dbfaf21a7e3fb8360c65ffb23fa;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/common/core-impl.cpp b/dali/internal/common/core-impl.cpp old mode 100644 new mode 100755 index 53378e0..ae5a35a --- a/dali/internal/common/core-impl.cpp +++ b/dali/internal/common/core-impl.cpp @@ -196,6 +196,15 @@ void Core::SurfaceResized( unsigned int width, unsigned int height ) mRelayoutController->SetStageSize( size.width, size.height ); } +void Core::SurfaceResized( unsigned int width, unsigned int height, int orientation ) +{ + mStage->SurfaceResized( width, height, orientation ); + + // The stage-size may be less than surface-size (reduced by top-margin) + Vector2 size = mStage->GetSize(); + mRelayoutController->SetStageSize( size.width, size.height ); +} + void Core::SetTopMargin( unsigned int margin ) { mStage->SetTopMargin( margin );