public override void Load() { base.Load(); WidgetManager.Root.StyleName = "panel"; WidgetManager.Root.Add(flowLayout1 = new FlowLayout(WidgetManager) { AnchorTarget = WidgetManager.Root, AnchorFrom = BoxAlignment.TopLeft, AnchorTo = BoxAlignment.TopLeft, Padding = new FourSide(16), Spacing = 10, //FitChildren = true, //Fill = true, }); foreach (var word in @"Sanae from class 3-B was an ordinary girl, one you might find anywhere. But one day, her pets ran away from her when she was at the lake.".Split(' ')) { flowLayout1.Add(new Label(WidgetManager) { Text = word, }); } WidgetManager.Root.Add(flowLayout2 = new FlowLayout(WidgetManager) { AnchorTarget = WidgetManager.Root, AnchorFrom = BoxAlignment.TopRight, AnchorTo = BoxAlignment.TopRight, Padding = new FourSide(16), //FitChildren = true, //Fill = true, }); foreach (var letter in @"Sanae from class 3-B was an ordinary girl, one you might find anywhere. But one day, her pets ran away from her when she was at the lake.") { flowLayout2.Add(new Label(WidgetManager) { Text = letter.ToString() }); } WidgetManager.Root.Add(flowLayout3 = new FlowLayout(WidgetManager) { AnchorTarget = WidgetManager.Root, AnchorFrom = BoxAlignment.Bottom, AnchorTo = BoxAlignment.Bottom, Padding = new FourSide(16), //FitChildren = true, //Fill = true, }); foreach (var letter in @"三年B組のサナエさんは、どこにでもいる普通の女の子でした。ところがある日、彼女の飼っていたペットが湖で逃げてしまいました。") { flowLayout3.Add(new Label(WidgetManager) { Text = letter.ToString(), }); } }