WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=e6ec969e5024bf52e9aa516f4f02b7938b754951

commit e6ec969e5024bf52e9aa516f4f02b7938b754951
Author: Xavi Artigas <[email protected]>
Date:   Wed Jan 23 08:38:06 2019 -0800

    Wiki page sizing.md changed with summary [Adapt to latest EFL# syntax] by 
Xavi Artigas
---
 pages/develop/guides/csharp/ui/sizing.md.txt | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/pages/develop/guides/csharp/ui/sizing.md.txt 
b/pages/develop/guides/csharp/ui/sizing.md.txt
index b4a376e2c..aaf246b01 100644
--- a/pages/develop/guides/csharp/ui/sizing.md.txt
+++ b/pages/develop/guides/csharp/ui/sizing.md.txt
@@ -23,11 +23,10 @@ You can find an usage example in the [EFL examples 
repository](https://git.enlig
 When a widget's **minimum** size is defined with `SetHintMin()`, resizing the 
rest of the UI will not shrink the widget below the size you set. You can use 
it to create elements which are bigger than normal, as well as prevent the UI 
from becoming too small:
 
 ```csharp
-new efl.ui.Button(win, (efl.ui.IButton ebutton) => {
-  ebutton.SetText("Big button");
-  ebutton.SetHintMin(new eina.Size2D(100,100));
-  box.DoPack(ebutton);
-});
+button = new Efl.Ui.Button(win);
+button.SetText("Big button");
+button.SetHintMin(new Eina.Size2D(100,100));
+box.DoPack(button);
 ```
 
 ## Setting a Widget's Maximum Size ##
@@ -35,11 +34,10 @@ new efl.ui.Button(win, (efl.ui.IButton ebutton) => {
 When a widget's **maximum** size is defined with `SetHintMax()`, resizing the 
rest of the UI will not expand the widget beyond the size you set. Use it to 
create elements that are smaller than normal or that will not expand past a 
given point when the UI grows.
 
 ```csharp
-new efl.ui.Button(win, (efl.ui.IButton ebutton) => {
-  ebutton.SetText("Small");
-  ebutton.SetHintMax(new eina.Size2D(50,50));
-  box.DoPack(ebutton);
-});
+button = new Efl.Ui.Button(win);
+button.SetText("Small");
+button.SetHintMax(new Eina.Size2D(50,50));
+box.DoPack(button);
 ```
 
 ## Further Reading ##

-- 


Reply via email to