summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/develop/legacy/tutorial/csharp_tutorial.txt6
1 files changed, 4 insertions, 2 deletions
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
180 efl.ui.IWin win = new efl.ui.Win(null); 180 efl.ui.IWin win = new efl.ui.Win(null);
181 win.SetText("Hello, World!"); 181 win.SetText("Hello, World!");
182 win.SetAutohide(true); 182 win.SetAutohide(true);
183 win.SetSize(240, 60); 183 //win.SetSize(240, 60);
184 win.SetSize(new eina.Size2D(240, 60));
184 win.SetVisible(true); 185 win.SetVisible(true);
185</code> 186</code>
186 187
@@ -188,7 +189,8 @@ Create a new Button (passing the newly created window as the parent), set new la
188<code csharp> 189<code csharp>
189 efl.ui.IButton btn = new efl.ui.Button(win); 190 efl.ui.IButton btn = new efl.ui.Button(win);
190 btn.SetText("Good-Bye, World!"); 191 btn.SetText("Good-Bye, World!");
191 btn.SetSize(120, 30); 192 //btn.SetSize(120, 30);
193 btn.SetSize(new eina.Size2D(120, 30));
192 eina.Position2D pos; 194 eina.Position2D pos;
193 pos.X = 60; 195 pos.X = 60;
194 pos.Y = 15; 196 pos.Y = 15;