mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 00:09:01 +00:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
parent
4ce28c32d1
commit
c5d913970a
Notes:
sideshowbarker
2024-07-19 09:08:33 +09:00
Author: https://github.com/awesomekling
Commit: c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -63,7 +63,7 @@ RefPtr<LayoutNode> HTMLInputElement::create_layout_node(const StyleProperties*)
|
|||
};
|
||||
widget = button;
|
||||
} else {
|
||||
auto text_box = GUI::TextBox::construct(&html_view);
|
||||
auto text_box = html_view.add<GUI::TextBox>();
|
||||
text_box->set_text(value());
|
||||
text_box->on_change = [this] {
|
||||
auto& widget = to<LayoutWidget>(layout_node())->widget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue