mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 06:44:57 +00:00
LibGUI: Convert GFrame to ObjectPtr
This commit is contained in:
parent
7b5342b2e3
commit
55a6e4ac0b
7 changed files with 21 additions and 17 deletions
|
@ -192,7 +192,7 @@ GFilePicker::GFilePicker(Mode mode, const StringView& file_name, const StringVie
|
|||
}
|
||||
};
|
||||
|
||||
auto* preview_container = new GFrame(horizontal_container);
|
||||
auto preview_container = GFrame::construct(horizontal_container);
|
||||
preview_container->set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
|
||||
preview_container->set_preferred_size(180, 0);
|
||||
preview_container->set_frame_shape(FrameShape::Container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue