diff options
author | crupest <crupest@outlook.com> | 2020-09-11 11:17:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-09-11 11:17:56 +0800 |
commit | 93b8a62d28f9427f0979d62b71f12fb2858064ee (patch) | |
tree | 8f77e88a2a48db2a4e9fe72e5c85088f8d659a7f /demos/main | |
parent | 65ca046989cd641da65b754bfa1c99f5e54b219a (diff) | |
download | cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.gz cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.bz2 cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.zip |
...
Diffstat (limited to 'demos/main')
-rw-r--r-- | demos/main/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/main/main.cpp b/demos/main/main.cpp index a0d4cd88..82038731 100644 --- a/demos/main/main.cpp +++ b/demos/main/main.cpp @@ -53,6 +53,9 @@ int main() { text_block4->SetText(u"Hello World!!!"); flex_layout->AddChild(text_block4, 2); + const auto text_box = TextBox::Create(); + flex_layout->AddChild(text_box, 3); + window->GetUiHost()->GetNativeWindowResolver()->Resolve()->SetVisible(true); return application->Run(); |