mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode
This commit is contained in:
parent
a8f0e4d56e
commit
35040dd2c4
11 changed files with 41 additions and 41 deletions
|
@ -43,10 +43,10 @@ LayoutWidget::~LayoutWidget()
|
|||
widget().remove_from_parent();
|
||||
}
|
||||
|
||||
void LayoutWidget::layout(LayoutMode line_break_policy)
|
||||
void LayoutWidget::layout(LayoutMode layout_mode)
|
||||
{
|
||||
rect().set_size(widget().width(), widget().height());
|
||||
LayoutReplaced::layout(line_break_policy);
|
||||
LayoutReplaced::layout(layout_mode);
|
||||
widget().move_to(rect().x(), rect().y());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue