TASK=TCAPI-2218
- "\r\n" or Environment.NewLine is available.
Change-Id: I4550f63060cdb6e794762f66c3ec1c6e491bfb65
{
Native.Dialog alert = new Native.Dialog(Forms.Context.MainWindow);
alert.Title = arguments.Title;
+ var message = arguments.Message.Replace("&", "&").Replace("<", "<").Replace(">", ">").Replace(Environment.NewLine, "<br>");
var label = new ELabel(alert)
{
- Text = "<span font_size=30 color=#000000>" + arguments.Message + "<\\span>",
+ Text = "<span font_size=30 color=#000000>" + message + "<\\span>",
};
-
label.Show();
var box = new Box(alert);