[NUI] Add ContentPageLayout to calculate Content size correctly
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 8 Dec 2021 11:11:38 +0000 (20:11 +0900)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Tue, 14 Dec 2021 09:04:07 +0000 (18:04 +0900)
commit086210d291250941a737c4531a06cd246f4b5ed2
treec6a8f3e9c6c5828822029d68475250fe3f1f381c
parent16d02d4bc1a1008b1d55ee446abaa0301b34221f
[NUI] Add ContentPageLayout to calculate Content size correctly

Previously, ContentPage's Layout was AbsoluteLayout so the height of
Content was calculated to the same with the height of ContentPage,
although AppBar existed at the top of ContentPage.

Now, ContentPageLayout has been introduced and ContentPageLayout
calculates the height of Content except the height of AppBar.
Consequently, OnRelayout() is no longer required because
ContentPageLayout calculates the size and position of Content.
src/Tizen.NUI.Components/Controls/Navigation/ContentPage.cs