aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-05-17 15:26:02 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-17 15:26:02 +0200
commitaf73959386d622d57718f118f02fd17559be36ee (patch)
tree27e227800018e06e664da413ba562d0be9aa0576 /reference
parentmono examples: Update to latest Efl.Ui.Clickable syntax (diff)
downloadexamples-af73959386d622d57718f118f02fd17559be36ee.tar.gz
Use direction instead of table_direction in table examples
Efl.Ui.Direction.direction is simpler to understand than Efl.Pack_table.table_direction. Also, the latter might disappear very soon.
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 e19c2de0..68a48fa9 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -37,7 +37,7 @@ _ui_table_setup(Efl_Ui_Win *win)
table = efl_add(EFL_UI_TABLE_CLASS, win);
efl_pack_table_columns_set(table, 2);
- efl_pack_table_direction_set(table, EFL_UI_DIR_RIGHT, EFL_UI_DIR_DOWN);
+ efl_ui_direction_set(table, EFL_UI_DIR_RIGHT);
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Long Button"),
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 1ee439ff..3b14bc02 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
Efl.Ui.Table table = new Efl.Ui.Table(win);
// Table with two columns, that get filled left to right, and then top to bottom
table.SetTableColumns(2);
- table.SetTableDirection(Efl.Ui.Dir.Right, Efl.Ui.Dir.Down);
+ table.SetDirection(Efl.Ui.Dir.Right);
Efl.Ui.Button button;
for (int i = 1; i <= 4; ++i)