diff options
author | 杨宇千 <crupest@outlook.com> | 2018-11-27 21:12:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 21:12:10 +0800 |
commit | ee22597122612cd75fe62f5d808cb51478373fad (patch) | |
tree | 19b39da16f155451d5817e82e045d69d7410acbe /src/ui/controls/text_control.cpp | |
parent | 30333294fcd5917a9f3572f0c4c6dfc2ec429a3c (diff) | |
parent | 5b770e3bf0f3f9e22454d9e092630b22f5916ebe (diff) | |
download | cru-ee22597122612cd75fe62f5d808cb51478373fad.tar.gz cru-ee22597122612cd75fe62f5d808cb51478373fad.tar.bz2 cru-ee22597122612cd75fe62f5d808cb51478373fad.zip |
Merge pull request #26 from crupest/3-scrollview
Develop scrollview.
Diffstat (limited to 'src/ui/controls/text_control.cpp')
-rw-r--r-- | src/ui/controls/text_control.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/controls/text_control.cpp b/src/ui/controls/text_control.cpp index f7f88d4e..d7d6b810 100644 --- a/src/ui/controls/text_control.cpp +++ b/src/ui/controls/text_control.cpp @@ -19,6 +19,8 @@ namespace cru::ui::controls brush_ = init_brush; selection_brush_ = UiManager::GetInstance()->GetPredefineResources()->text_control_selection_brush; + + SetClipContent(true); } |