diff options
Diffstat (limited to 'views/examples')
-rw-r--r-- | views/examples/textfield_example.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/views/examples/textfield_example.h b/views/examples/textfield_example.h index a348cd3..1a03b05 100644 --- a/views/examples/textfield_example.h +++ b/views/examples/textfield_example.h @@ -32,6 +32,7 @@ class TextfieldExample : public ExampleBase, virtual void CreateExampleView(views::View* container) { name_ = new Textfield(); password_ = new Textfield(Textfield::STYLE_PASSWORD); + password_->set_text_to_display_when_empty(ASCIIToUTF16("password")); show_password_ = new views::TextButton(this, L"Show password"); clear_all_ = new views::TextButton(this, L"Clear All"); append_ = new views::TextButton(this, L"Append"); |