diff options
author | Myoungwoon Roy Kim <myoungwoon.kim@samsung.com> | 2018-06-26 23:03:09 -0700 |
---|---|---|
committer | apache <apache@e5-web1.enlightenment.org> | 2018-06-26 23:03:09 -0700 |
commit | b8afa0e6cb62746d0b78ddf13f6410c8fbb24c2c (patch) | |
tree | 6abbfd5a6b02f88d30e183ffb96c5e60f9df960f /pages | |
parent | 72f4138ba95daf6fd2220ce88a63420b7a555397 (diff) |
Wiki page csharp_tutorial changed with summary [Fix build errors owing to .SetSize API usage.] by Myoungwoon Roy Kim
Diffstat (limited to 'pages')
-rw-r--r-- | pages/develop/legacy/tutorial/csharp_tutorial.txt | 6 |
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; |