aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-04-26 12:58:15 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-04-26 12:58:15 +0200
commitb2c41e4e011bfddb5980ab011492fd7c70f4baf5 (patch)
tree821964351afbf59d57a13ed09c1e2cfceb407210 /reference
parentcsharp: Update examples after repeated method name (diff)
downloadexamples-b2c41e4e011bfddb5980ab011492fd7c70f4baf5.tar.gz
mono-examples: Adapt to changes in Efl.Pack
Diffstat (limited to 'reference')
-rw-r--r--reference/c/ui/src/ui_container.c2
-rw-r--r--reference/csharp/ui/src/ui_container.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 098645fc..e19c2de0 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -62,7 +62,7 @@ _ui_boxes_setup(Efl_Ui_Win *win)
int i;
box = efl_add(EFL_UI_BOX_CLASS, win,
- efl_pack_padding_set(efl_added, 5, 0, EINA_TRUE));
+ efl_gfx_arrangement_content_padding_set(efl_added, 5, 0, EINA_TRUE));
for (i = 1; i <= 4; i++)
{
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 3d3c7e12..0ca057b8 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -14,7 +14,7 @@ public class Example : Efl.Csharp.Application
{
Efl.Ui.Box box = new Efl.Ui.Box(win);
// Set distance between contained elements
- box.SetPackPadding(5, 0, true);
+ box.SetContentPadding(5, 0, true);
for (int i = 1; i <= 4; ++i)
{