WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=99c74184351e16ccbe48ebf9d4a943897855b705
commit 99c74184351e16ccbe48ebf9d4a943897855b705 Author: Xavi Artigas <[email protected]> Date: Wed Mar 6 04:09:36 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 | 8 ++++---- 1 file 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); ``` --
