summaryrefslogtreecommitdiff
path: root/tutorial/csharp/hello-gui/src/gui_main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/csharp/hello-gui/src/gui_main.cs')
-rw-r--r--tutorial/csharp/hello-gui/src/gui_main.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorial/csharp/hello-gui/src/gui_main.cs b/tutorial/csharp/hello-gui/src/gui_main.cs
index ab64bb9e..3d1ff4c4 100644
--- a/tutorial/csharp/hello-gui/src/gui_main.cs
+++ b/tutorial/csharp/hello-gui/src/gui_main.cs
@@ -34,7 +34,8 @@ public class Example : Efl.Csharp.Application
34 var label = new Efl.Ui.Text(box); 34 var label = new Efl.Ui.Text(box);
35 // Set its content and customize it 35 // Set its content and customize it
36 label.SetText("Hello World. This is an Efl.Ui application!"); 36 label.SetText("Hello World. This is an Efl.Ui application!");
37 label.SetSelectionAllowed(false); 37 label.Editable = false;
38 label.SelectionAllowed = false;
38 label.SetHintWeight(1.0, 0.9); 39 label.SetHintWeight(1.0, 0.9);
39 label.SetHintFill(false, false); 40 label.SetHintFill(false, false);
40 label.SetHintAlign(0.5, 0.5); 41 label.SetHintAlign(0.5, 0.5);