mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
Applications: Use placeholders in TextBoxes where applicable
This commit is contained in:
parent
fa96e57c15
commit
7907df7617
4 changed files with 4 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue