diff --git a/Tutorial/GacUI_HelloWorlds/WorkflowScript/Main.cpp b/Tutorial/GacUI_HelloWorlds/WorkflowScript/Main.cpp index b057b66b..57191ec5 100644 --- a/Tutorial/GacUI_HelloWorlds/WorkflowScript/Main.cpp +++ b/Tutorial/GacUI_HelloWorlds/WorkflowScript/Main.cpp @@ -27,13 +27,13 @@ func CreateMainWindow() : Window* var window = new Window*(theme.CreateWindowStyle()); window.Text = "Hello, world!"; - window.ClientSize = cast Size "x:480 y:320"; - window.BoundsComposition.PreferredMinSize = cast Size "x:480 y:320"; + window.ClientSize = {x:480 y:320}; + window.BoundsComposition.PreferredMinSize = {x:480 y:320}; window.MoveToScreenCenter(); var label = new Label*(theme.CreateLabelStyle()); label.Text = "Welcom to GacUI Library!"; - label.Font = cast FontProperties "fontFamily:{Segoe UI} size:32"; + label.Font = {fontFamily:"Segoe UI" size:32}; window.AddChild(label); return window;