summaryrefslogtreecommitdiff
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
parent21567fcccfbac99282c5cd90d30ddf843c7d2031 (diff)
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
39 39
40 // Create an horizontal box to contain the two buttons 40 // Create an horizontal box to contain the two buttons
41 var hbox = new Efl.Ui.Box(vbox); 41 var hbox = new Efl.Ui.Box(vbox);
42 hbox.SetDirection(Efl.Ui.Dir.Horizontal); 42 hbox.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
43 vbox.Pack(hbox); 43 vbox.Pack(hbox);
44 44
45 // Create a "Focus Mover" button 45 // 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
38 Efl.Ui.Table table = new Efl.Ui.Table(win); 38 Efl.Ui.Table table = new Efl.Ui.Table(win);
39 // Table with two columns, that get filled left to right, and then top to bottom 39 // Table with two columns, that get filled left to right, and then top to bottom
40 table.SetTableColumns(2); 40 table.SetTableColumns(2);
41 table.SetDirection(Efl.Ui.Dir.Right); 41 table.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
42 Efl.Ui.Button button; 42 Efl.Ui.Button button;
43 43
44 for (int i = 1; i <= 4; ++i) 44 for (int i = 1; i <= 4; ++i)
@@ -84,7 +84,7 @@ public class Example : Efl.Csharp.Application
84 // Create a second, horizontally-split panes container and set it as the content of 84 // Create a second, horizontally-split panes container and set it as the content of
85 // the second pane of the first container 85 // the second pane of the first container
86 Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win); 86 Efl.Ui.Panes hsplit = new Efl.Ui.Panes(win);
87 hsplit.SetDirection(Efl.Ui.Dir.Horizontal); 87 hsplit.SetOrientation(Efl.Ui.LayoutOrientation.Horizontal);
88 hsplit.SetSplitRatio(0.85); 88 hsplit.SetSplitRatio(0.85);
89 vsplit.SecondPart.SetContent(hsplit); 89 vsplit.SecondPart.SetContent(hsplit);
90 90