diff options
author | crupest <crupest@outlook.com> | 2020-04-21 23:41:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-21 23:41:36 +0800 |
commit | f42531cc4c0f49451c4df30e4243e39581751215 (patch) | |
tree | 6a028abc4a8e7524fecbbd13ab45a92c94bee184 /demos | |
parent | df18bb392bde50fd195a0b94726df79b9c76e2e1 (diff) | |
download | cru-f42531cc4c0f49451c4df30e4243e39581751215.tar.gz cru-f42531cc4c0f49451c4df30e4243e39581751215.tar.bz2 cru-f42531cc4c0f49451c4df30e4243e39581751215.zip |
...
Diffstat (limited to 'demos')
-rw-r--r-- | demos/input_method/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 041941bd..a3ac1b96 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -63,6 +63,7 @@ int main() { font, committed_text + (optional_composition_text ? optional_composition_text->text : "")); + text_layout->SetMaxWidth(window_width); if (optional_composition_text) { const auto& composition_text = *optional_composition_text; |