summaryrefslogtreecommitdiff
path: root/reference/csharp/ui/src/ui_sizing.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/ui/src/ui_sizing.cs')
-rw-r--r--reference/csharp/ui/src/ui_sizing.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/reference/csharp/ui/src/ui_sizing.cs b/reference/csharp/ui/src/ui_sizing.cs
index 96a2b96..7ccfa10 100644
--- a/reference/csharp/ui/src/ui_sizing.cs
+++ b/reference/csharp/ui/src/ui_sizing.cs
@@ -13,8 +13,7 @@ public class Example : Efl.Csharp.Application
13 protected override void OnInitialize(Eina.Array<System.String> args) 13 protected override void OnInitialize(Eina.Array<System.String> args)
14 { 14 {
15 // Create a window and initialize it 15 // Create a window and initialize it
16 Efl.Ui.Win win = new Efl.Ui.Win(null); 16 Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
17 win.SetWinType(Efl.Ui.WinType.Basic);
18 win.SetText("Size Control"); 17 win.SetText("Size Control");
19 win.SetAutohide(true); 18 win.SetAutohide(true);
20 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => { 19 win.VisibilityChangedEvt += (object sender, Efl.Gfx.IEntityVisibilityChangedEvt_Args e) => {