[NUI] Remove duplicate AlertDialog theme
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 25 May 2021 09:04:02 +0000 (18:04 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 26 May 2021 01:00:09 +0000 (10:00 +0900)
Duplicate AlertDialog theme is removed.

src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs

index 68ad12a..5504bd3 100755 (executable)
@@ -641,42 +641,6 @@ namespace Tizen.NUI.Components
                 }
             });
 
-            theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
-            {
-                Size = new Size(-2, -2),
-                Padding = new Extents(80, 80, 0, 0),
-                BackgroundImage = FrameworkInformation.ResourcePath + "nui_component_default_dialog_bg.#.png",
-                TitleTextLabel = new TextLabelStyle()
-                {
-                    Size = new Size(1024, -2),
-                    Margin = new Extents(0, 0, 40, 40),
-                    PixelSize = 40,
-                    HorizontalAlignment = HorizontalAlignment.Center,
-                    VerticalAlignment = VerticalAlignment.Center,
-                    TextColor = new Selector<Color>()
-                    {
-                        Normal = new Color("#000C2BFF"),
-                    },
-                },
-                MessageTextLabel = new TextLabelStyle()
-                {
-                    Size = new Size(1024, -2),
-                    Margin = new Extents(0, 0, 0, 64),
-                    PixelSize = 32,
-                    MultiLine = true,
-                    HorizontalAlignment = HorizontalAlignment.Center,
-                    VerticalAlignment = VerticalAlignment.Center,
-                    TextColor = new Selector<Color>()
-                    {
-                        Normal = new Color("#000C2BFF"),
-                    },
-                },
-                ActionContent = new ViewStyle()
-                {
-                    Size = new Size(1024, -2),
-                },
-            });
-
             theme.AddStyleWithoutClone("Tizen.NUI.Components.MenuItem", new ButtonStyle()
             {
                 Size = new Size(480, -2),