[NUI] Set AlertDialog's LinearLayout center aligned
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 3 Jun 2021 07:54:06 +0000 (16:54 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 8 Jun 2021 05:35:32 +0000 (14:35 +0900)
To show AlertDialog's Content at the center of AlertDialog,
AlertDialog's LinearLayout is center aligned.

src/Tizen.NUI.Components/Controls/AlertDialog.cs

index 3b9ce22..e505d4f 100755 (executable)
@@ -481,6 +481,7 @@ namespace Tizen.NUI.Components
             Layout = new LinearLayout()
             {
                 LinearOrientation = LinearLayout.Orientation.Vertical,
+                LinearAlignment = LinearLayout.Alignment.CenterHorizontal,
             };
 
             this.Relayout += OnRelayout;