diff --git a/pages/develop/legacy/tutorial/csharp_tutorial.txt b/pages/develop/legacy/tutorial/csharp_tutorial.txt index 16fab26b9..9bc5c36b0 100644 --- a/pages/develop/legacy/tutorial/csharp_tutorial.txt +++ b/pages/develop/legacy/tutorial/csharp_tutorial.txt @@ -180,7 +180,8 @@ And create a new Window with auto-hide (the window is automatically hidden when efl.ui.IWin win = new efl.ui.Win(null); win.SetText("Hello, World!"); win.SetAutohide(true); - win.SetSize(240, 60); + //win.SetSize(240, 60); + win.SetSize(new eina.Size2D(240, 60)); win.SetVisible(true); @@ -188,7 +189,8 @@ Create a new Button (passing the newly created window as the parent), set new la efl.ui.IButton btn = new efl.ui.Button(win); btn.SetText("Good-Bye, World!"); - btn.SetSize(120, 30); + //btn.SetSize(120, 30); + btn.SetSize(new eina.Size2D(120, 30)); eina.Position2D pos; pos.X = 60; pos.Y = 15;