From: Jaehyun Cho Date: Tue, 25 May 2021 09:04:02 +0000 (+0900) Subject: [NUI] Remove duplicate AlertDialog theme X-Git-Tag: accepted/tizen/unified/20231205.024657~1849 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65bc9a027bc63eb5d1c468bac88179ef1f125cf2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Remove duplicate AlertDialog theme Duplicate AlertDialog theme is removed. --- diff --git a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs index 68ad12a..5504bd3 100755 --- a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs +++ b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs @@ -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() - { - 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() - { - 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),