From a086bf7ed19c3a86cff1e137220362040a8a21f5 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Thu, 3 Jun 2021 16:54:06 +0900 Subject: [PATCH] [NUI] Set AlertDialog's LinearLayout center aligned To show AlertDialog's Content at the center of AlertDialog, AlertDialog's LinearLayout is center aligned. --- src/Tizen.NUI.Components/Controls/AlertDialog.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tizen.NUI.Components/Controls/AlertDialog.cs b/src/Tizen.NUI.Components/Controls/AlertDialog.cs index 3b9ce22..e505d4f 100755 --- a/src/Tizen.NUI.Components/Controls/AlertDialog.cs +++ b/src/Tizen.NUI.Components/Controls/AlertDialog.cs @@ -481,6 +481,7 @@ namespace Tizen.NUI.Components Layout = new LinearLayout() { LinearOrientation = LinearLayout.Orientation.Vertical, + LinearAlignment = LinearLayout.Alignment.CenterHorizontal, }; this.Relayout += OnRelayout; -- 2.7.4