summaryrefslogtreecommitdiff
path: root/Demos/WidgetGallery
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2020-09-20 12:43:44 -0700
committerAndreas Kling <kling@serenityos.org>2020-09-21 20:15:10 +0200
commit7907df76175717d5288457fc18c36b01f96815cc (patch)
treefa565201bb404ed3a670e69625893397c5690331 /Demos/WidgetGallery
parentfa96e57c156193566dafe00116933dd8a8d80c7f (diff)
downloadserenity-7907df76175717d5288457fc18c36b01f96815cc.zip
Applications: Use placeholders in TextBoxes where applicable
Diffstat (limited to 'Demos/WidgetGallery')
-rw-r--r--Demos/WidgetGallery/main.cpp2
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);