1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

Browser: Make the location box 2px taller

This commit is contained in:
Andreas Kling 2020-05-18 17:50:44 +02:00
parent 62b7418376
commit 9895405b7c

View file

@ -99,6 +99,8 @@ Tab::Tab()
toolbar.add_action(*m_reload_action);
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->on_return_pressed = [this] {
String location = m_location_box->text();