From 0dcf8e686b93cca54a424affe0455d0a97d6c2ef Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 3 Mar 2020 23:36:45 +0800 Subject: ... --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index e2a766dc..fb2222d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,6 +47,10 @@ int main() { stack_layout->AddChild(text_block3, 1); flex_layout->AddChild(stack_layout, 1); + const auto text_block4 = TextBlock::Create(); + text_block4->SetText("Hello World!!!"); + flex_layout->AddChild(text_block4, 2); + window->ResolveNativeWindow()->SetVisible(true); return application->Run(); -- cgit v1.2.3