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

HackStudio: Adjust heights for Locator and Find widgets

These were two pixels too small and, in Locator's case, blurring
the boundary with Statusbar.
This commit is contained in:
thankyouverycool 2022-02-24 05:55:22 -05:00 committed by Andreas Kling
parent 77c4b20157
commit 29504ae5b6
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ FindInFilesWidget::FindInFilesWidget()
auto& top_container = add<Widget>(); auto& top_container = add<Widget>();
top_container.set_layout<GUI::HorizontalBoxLayout>(); top_container.set_layout<GUI::HorizontalBoxLayout>();
top_container.set_fixed_height(20); top_container.set_fixed_height(22);
m_textbox = top_container.add<GUI::TextBox>(); m_textbox = top_container.add<GUI::TextBox>();

View file

@ -98,7 +98,7 @@ LocatorSuggestionModel::Suggestion LocatorSuggestionModel::Suggestion::create_sy
Locator::Locator(Core::Object* parent) Locator::Locator(Core::Object* parent)
{ {
set_layout<GUI::VerticalBoxLayout>(); set_layout<GUI::VerticalBoxLayout>();
set_fixed_height(20); set_fixed_height(22);
m_textbox = add<GUI::TextBox>(); m_textbox = add<GUI::TextBox>();
m_textbox->on_change = [this] { m_textbox->on_change = [this] {
update_suggestions(); update_suggestions();