diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 21:22:50 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 21:22:50 +0000 |
commit | 8c8b2d16403decbf26a7e0b0468d80c9ac6c2d09 (patch) | |
tree | ceed3a845bd95430f142bdddb585f8dac01298e1 /views | |
parent | 8369500c25a176704880963b79b7f0ce8b326d27 (diff) | |
download | chromium_src-8c8b2d16403decbf26a7e0b0468d80c9ac6c2d09.zip chromium_src-8c8b2d16403decbf26a7e0b0468d80c9ac6c2d09.tar.gz chromium_src-8c8b2d16403decbf26a7e0b0468d80c9ac6c2d09.tar.bz2 |
Fixing a bug where the textfield would paint outside of its bounds
when scrolled.
BUG=26867
TEST=See steps in bug.
Review URL: http://codereview.chromium.org/391055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31947 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/textfield/native_textfield_win.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h index 6955453..a291a71 100644 --- a/views/controls/textfield/native_textfield_win.h +++ b/views/controls/textfield/native_textfield_win.h @@ -23,7 +23,8 @@ namespace views { class NativeViewHost; class Textfield; -static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE; +static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | + WS_CLIPSIBLINGS; // TODO(beng): make a subclass of NativeControlWin instead. class NativeTextfieldWin |