aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-06-14 12:25:26 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-06-14 12:25:26 +0200
commitd325da211908251395462a71619deb6cf668bc45 (patch)
tree9ff30dda5e81c72379ecc09c02a3c321f984ae47 /reference
parentEfl.Ui.Dir -> Efl.Ui.Layout_Orientation (diff)
downloadexamples-d325da211908251395462a71619deb6cf668bc45.tar.gz
efl-mono: Efl.Ui.Dir -> Efl.Ui.LayoutOrientation
Diffstat (limited to 'reference')
-rw-r--r--reference/csharp/ui/src/focus_main.cs2
-rw-r--r--reference/csharp/ui/src/ui_container.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/reference/csharp/ui/src/focus_main.cs b/reference/csharp/ui/src/focus_main.cs
index 4ca376e4..8c69ccaf 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -39,7 +39,7 @@ public class Example : Efl.Csharp.Application
// Create an horizontal box to contain the two buttons
var hbox = new Efl.Ui.Box(vbox);
- hbox.SetDirection(Efl.Ui.Dir.Horizontal);
+ hbox.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
vbox.Pack(hbox);
// Create a "Focus Mover" button
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 3b14bc02..f8f6ac81 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.SetDirection(Efl.Ui.Dir.Right);
+ table.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
Efl.Ui.Button button;
for (int i = 1; i <= 4; ++i)
@@ -84,7 +84,7 @@ public class Example : Efl.Csharp.Application
// Create a second, horizontally-split panes container and set it as the content of
// the second pane of the first container
Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win);
- hsplit.SetDirection(Efl.Ui.Dir.Horizontal);
+ hsplit.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
hsplit.SetSplitRatio(0.85);
vsplit.SecondPart.SetContent(hsplit);