summaryrefslogtreecommitdiff
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
parent595be4aa12fe5a6ab5fa177fb308a2b880acaf65 (diff)
mono-examples: Adapt to changes in Efl.Pack
-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 098645f..e19c2de 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)
62 int i; 62 int i;
63 63
64 box = efl_add(EFL_UI_BOX_CLASS, win, 64 box = efl_add(EFL_UI_BOX_CLASS, win,
65 efl_pack_padding_set(efl_added, 5, 0, EINA_TRUE)); 65 efl_gfx_arrangement_content_padding_set(efl_added, 5, 0, EINA_TRUE));
66 66
67 for (i = 1; i <= 4; i++) 67 for (i = 1; i <= 4; i++)
68 { 68 {
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 3d3c7e1..0ca057b 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
14 { 14 {
15 Efl.Ui.Box box = new Efl.Ui.Box(win); 15 Efl.Ui.Box box = new Efl.Ui.Box(win);
16 // Set distance between contained elements 16 // Set distance between contained elements
17 box.SetPackPadding(5, 0, true); 17 box.SetContentPadding(5, 0, true);
18 18
19 for (int i = 1; i <= 4; ++i) 19 for (int i = 1; i <= 4; ++i)
20 { 20 {