aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-03-06 04:09:36 -0800
committerapache <apache@e5-web1.enlightenment.org>2019-03-06 04:09:36 -0800
commit99c74184351e16ccbe48ebf9d4a943897855b705 (patch)
treeb1b25adc7c8354098d54a42c5f48798e948a61b5
parentWiki page events.md changed with summary [Adapt to latest EFL# syntax] by Xav... (diff)
downloadwww-content-99c74184351e16ccbe48ebf9d4a943897855b705.tar.gz
Wiki page sizing.md changed with summary [Adapt to latest EFL# syntax] by Xavi Artigas
-rw-r--r--pages/develop/guides/csharp/ui/sizing.md.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/develop/guides/csharp/ui/sizing.md.txt b/pages/develop/guides/csharp/ui/sizing.md.txt
index aaf246b01..acd14fe34 100644
--- a/pages/develop/guides/csharp/ui/sizing.md.txt
+++ b/pages/develop/guides/csharp/ui/sizing.md.txt
@@ -20,23 +20,23 @@ You can find an usage example in the [EFL examples repository](https://git.enlig
## Setting a Widget's Minimum Size ##
-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:
+When a widget's **minimum** size is defined with `SetHintSizeMin()`, 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
button = new Efl.Ui.Button(win);
button.SetText("Big button");
-button.SetHintMin(new Eina.Size2D(100,100));
+button.SetHintSizeMin(new Eina.Size2D(100,100));
box.DoPack(button);
```
## Setting a Widget's Maximum Size ##
-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.
+When a widget's **maximum** size is defined with `SetHintSizeMax()`, 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
button = new Efl.Ui.Button(win);
button.SetText("Small");
-button.SetHintMax(new Eina.Size2D(50,50));
+button.SetHintSizeMax(new Eina.Size2D(50,50));
box.DoPack(button);
```