[NUI] Set Navigator Layout (#2727)
authorJaehyun Cho <29364140+jaehyun0cho@users.noreply.github.com>
Fri, 12 Mar 2021 02:41:25 +0000 (11:41 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 17 Mar 2021 06:50:14 +0000 (15:50 +0900)
To calculate its children (i.e. Page) size correctly, Navigator sets
AbsoluteLayout to its Layout.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
src/Tizen.NUI.Components/Controls/Navigation/Navigator.cs

index b79addc..b5e7158 100755 (executable)
@@ -49,6 +49,7 @@ namespace Tizen.NUI.Components
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Navigator() : base()
         {
+            Layout = new AbsoluteLayout();
         }
 
         /// <summary>