diff options
-rw-r--r-- | apps/csharp/texteditor/src/texteditor_main.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/csharp/texteditor/src/texteditor_main.cs b/apps/csharp/texteditor/src/texteditor_main.cs index 4b63c54..ead73da 100644 --- a/apps/csharp/texteditor/src/texteditor_main.cs +++ b/apps/csharp/texteditor/src/texteditor_main.cs | |||
@@ -59,14 +59,14 @@ public class TextEditor : Efl.Csharp.Application | |||
59 | // Shows a modal message popup with an "OK" button | 59 | // Shows a modal message popup with an "OK" button |
60 | private void ShowMessage(string message) | 60 | private void ShowMessage(string message) |
61 | { | 61 | { |
62 | var popup = new Efl.Ui.TextAlertPopup (win); | 62 | var popup = new Efl.Ui.AlertPopup (win); |
63 | popup.SetText(message); | 63 | popup.SetScrollableText(message); |
64 | popup.SetHintSizeMax(new Eina.Size2D(200, 200)); | 64 | popup.SetHintSizeMax(new Eina.Size2D(200, 200)); |
65 | popup.SetButton(Efl.Ui.AlertPopupButton.Positive, "OK", null); | 65 | popup.SetButton(Efl.Ui.AlertPopupButton.Positive, "OK", null); |
66 | popup.ButtonClickedEvt += | 66 | popup.ButtonClickedEvt += |
67 | (object sender, Efl.Ui.AlertPopupButtonClickedEvt_Args ea) => { | 67 | (object sender, Efl.Ui.AlertPopupButtonClickedEvt_Args ea) => { |
68 | // Dismiss popup when the button is clicked | 68 | // Dismiss popup when the button is clicked |
69 | ((Efl.Ui.TextAlertPopup)sender).SetParent(null); | 69 | ((Efl.Ui.AlertPopup)sender).SetParent(null); |
70 | }; | 70 | }; |
71 | } | 71 | } |
72 | 72 | ||