From 7907df76175717d5288457fc18c36b01f96815cc Mon Sep 17 00:00:00 2001 From: Peter Elliott Date: Sun, 20 Sep 2020 12:43:44 -0700 Subject: Applications: Use placeholders in TextBoxes where applicable --- Demos/WidgetGallery/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/WidgetGallery') 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(); - textbox1.set_text("Editable"); + textbox1.set_placeholder("Editable"); auto& textbox2 = textbox_vert1_container.add(); textbox2.set_text("Disabled"); textbox2.set_enabled(false); -- cgit v1.2.3