mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Userland: Use Widget::add_spacer() everywhere
This commit is contained in:
parent
43dddafd16
commit
9561ec15f4
17 changed files with 23 additions and 23 deletions
|
@ -34,7 +34,7 @@ WizardPage::WizardPage(DeprecatedString const& title_text, DeprecatedString cons
|
|||
m_subtitle_label = header_widget.add<Label>(subtitle_text);
|
||||
m_subtitle_label->set_text_alignment(Gfx::TextAlignment::TopLeft);
|
||||
m_subtitle_label->set_fixed_height(m_subtitle_label->font().glyph_height());
|
||||
header_widget.layout()->add_spacer();
|
||||
header_widget.add_spacer().release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
auto& separator = add<SeparatorWidget>(Gfx::Orientation::Horizontal);
|
||||
separator.set_fixed_height(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue