summaryrefslogtreecommitdiff
path: root/reference/csharp/ui/src/ui_container.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/ui/src/ui_container.cs')
-rw-r--r--reference/csharp/ui/src/ui_container.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index 0cb9c23..3d3c7e1 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -26,7 +26,7 @@ public class Example : Efl.Csharp.Application
26 // Button 2 has its maximum size limited, so it will be smaller 26 // Button 2 has its maximum size limited, so it will be smaller
27 button.SetHintSizeMax(new Eina.Size2D(100,50)); 27 button.SetHintSizeMax(new Eina.Size2D(100,50));
28 } 28 }
29 box.DoPack(button); 29 box.Pack(button);
30 } 30 }
31 31
32 return box; 32 return box;
@@ -46,7 +46,7 @@ public class Example : Efl.Csharp.Application
46 // Add 4 buttons, following the defined table flow 46 // Add 4 buttons, following the defined table flow
47 button = new Efl.Ui.Button(win); 47 button = new Efl.Ui.Button(win);
48 button.SetText($"Table {i}"); 48 button.SetText($"Table {i}");
49 table.DoPack(button); 49 table.Pack(button);
50 } 50 }
51 51
52 // Last button spans two table cells 52 // Last button spans two table cells