diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2020-09-20 12:43:44 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-21 20:15:10 +0200 |
commit | 7907df76175717d5288457fc18c36b01f96815cc (patch) | |
tree | fa565201bb404ed3a670e69625893397c5690331 /Demos/WidgetGallery | |
parent | fa96e57c156193566dafe00116933dd8a8d80c7f (diff) | |
download | serenity-7907df76175717d5288457fc18c36b01f96815cc.zip |
Applications: Use placeholders in TextBoxes where applicable
Diffstat (limited to 'Demos/WidgetGallery')
-rw-r--r-- | Demos/WidgetGallery/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp index 267fd850bc..daf5317b75 100644 --- a/Demos/WidgetGallery/main.cpp +++ b/Demos/WidgetGallery/main.cpp @@ -221,7 +221,7 @@ int main(int argc, char** argv) textbox_vert2_container.layout()->set_margins({ 1, 12, 1, 4 }); auto& textbox1 = textbox_vert1_container.add<GUI::TextBox>(); - textbox1.set_text("Editable"); + textbox1.set_placeholder("Editable"); auto& textbox2 = textbox_vert1_container.add<GUI::TextBox>(); textbox2.set_text("Disabled"); textbox2.set_enabled(false); |