aboutsummaryrefslogtreecommitdiff
path: root/CruUI/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CruUI/main.cpp')
-rw-r--r--CruUI/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/CruUI/main.cpp b/CruUI/main.cpp
index 6c96c833..3c10f73b 100644
--- a/CruUI/main.cpp
+++ b/CruUI/main.cpp
@@ -113,7 +113,12 @@ int APIENTRY wWinMain(
});
layout->AddChild(text_block);
- layout->AddChild(create_text_block(L"This is a very very very very very long sentence!!!", MeasureLength::Stretch(), MeasureLength::Stretch()));
+ }
+
+ {
+ const auto text_block = create_text_block(L"This is a very very very very very long sentence!!!", MeasureLength::Stretch(), MeasureLength::Stretch());
+ text_block->SetSelectable(true);
+ layout->AddChild(text_block);
}
{