mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 01:22:43 +02:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 12:01:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ff6ce422dde
@@ -34,7 +34,7 @@ TextEditorWidget::TextEditorWidget()
|
||||
update_title();
|
||||
};
|
||||
|
||||
m_find_widget = new GWidget(this);
|
||||
m_find_widget = GWidget::construct(this);
|
||||
m_find_widget->set_fill_with_background_color(true);
|
||||
m_find_widget->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
m_find_widget->set_preferred_size(0, 22);
|
||||
|
||||
Reference in New Issue
Block a user