mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:28:12 +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
|
@ -103,6 +103,7 @@ Tab::Tab(Type type)
|
|||
m_location_box = toolbar.add<GUI::TextBox>();
|
||||
m_location_box->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
|
||||
m_location_box->set_preferred_size(0, 22);
|
||||
m_location_box->set_placeholder("Address");
|
||||
|
||||
m_location_box->on_return_pressed = [this] {
|
||||
auto url = url_from_user_input(m_location_box->text());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue