summaryrefslogtreecommitdiff
path: root/reference/csharp/ui/src/ui_sizing.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/ui/src/ui_sizing.cs')
-rw-r--r--reference/csharp/ui/src/ui_sizing.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/reference/csharp/ui/src/ui_sizing.cs b/reference/csharp/ui/src/ui_sizing.cs
index 7ccfa10..07f5769 100644
--- a/reference/csharp/ui/src/ui_sizing.cs
+++ b/reference/csharp/ui/src/ui_sizing.cs
@@ -29,19 +29,19 @@ public class Example : Efl.Csharp.Application
29 // Create a regular button (without size hints) 29 // Create a regular button (without size hints)
30 var button = new Efl.Ui.Button(win); 30 var button = new Efl.Ui.Button(win);
31 button.SetText("Button"); 31 button.SetText("Button");
32 box.DoPack(button); 32 box.Pack(button);
33 33
34 // Create a small button (max size is limited) 34 // Create a small button (max size is limited)
35 button = new Efl.Ui.Button(win); 35 button = new Efl.Ui.Button(win);
36 button.SetText("Small"); 36 button.SetText("Small");
37 button.SetHintSizeMax(new Eina.Size2D(50,50)); 37 button.SetHintSizeMax(new Eina.Size2D(50,50));
38 box.DoPack(button); 38 box.Pack(button);
39 39
40 // Create a big button (min size is limited) 40 // Create a big button (min size is limited)
41 button = new Efl.Ui.Button(win); 41 button = new Efl.Ui.Button(win);
42 button.SetText("Big button"); 42 button.SetText("Big button");
43 button.SetHintSizeMin(new Eina.Size2D(100,100)); 43 button.SetHintSizeMin(new Eina.Size2D(100,100));
44 box.DoPack(button); 44 box.Pack(button);
45 } 45 }
46 46
47#if WIN32 47#if WIN32