summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/csharp/calculator/src/calculator.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/csharp/calculator/src/calculator.cs b/apps/csharp/calculator/src/calculator.cs
index 704cb126..c25cf37b 100644
--- a/apps/csharp/calculator/src/calculator.cs
+++ b/apps/csharp/calculator/src/calculator.cs
@@ -170,17 +170,17 @@ public class Calculator : Efl.Csharp.Application
170 // Create a big Efl.Ui.Text screen to display the current input 170 // Create a big Efl.Ui.Text screen to display the current input
171 screen = new Efl.Ui.Textbox(table); 171 screen = new Efl.Ui.Textbox(table);
172 screen.Text = "0"; 172 screen.Text = "0";
173 screen.FontFamily = "Sans";
174 screen.FontSize = 48;
175 screen.Multiline = false; 173 screen.Multiline = false;
176 screen.Editable = false; 174 screen.Editable = false;
177 screen.SelectionAllowed = false; 175 screen.SelectionAllowed = false;
178 table.PackTable(screen, 0, 0, 4, 1);
179 screen.TextHorizontalAlign = 0.9; 176 screen.TextHorizontalAlign = 0.9;
180 screen.TextVerticalAlign = 0.5; 177 screen.TextVerticalAlign = 0.5;
181 screen.TextEffectType = Efl.TextStyleEffectType.Glow; 178 screen.TextEffectType = Efl.TextStyleEffectType.Glow;
182 screen.TextGlowColor = (128, 128, 128, 128); 179 screen.TextGlowColor = (128, 128, 128, 128);
180 screen.FontFamily = "Sans";
181 screen.FontSize = 48;
183 screen.ChangedEvent += ScreenChangedCb; 182 screen.ChangedEvent += ScreenChangedCb;
183 table.PackTable(screen, 0, 0, 4, 1);
184 } 184 }
185} 185}
186 186