1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibGUI: Add custom layout change handling to ScrollableContainerWidget

This commit is contained in:
FrHun 2022-06-28 18:06:28 +02:00 committed by Andreas Kling
parent d0a418540e
commit 247e3ef6e7
2 changed files with 22 additions and 1 deletions

View file

@ -24,10 +24,12 @@ public:
protected:
virtual void did_scroll() override;
virtual void resize_event(GUI::ResizeEvent&) override;
virtual void layout_relevant_change_occured() override;
private:
void update_widget_size();
void update_widget_position();
void update_widget_min_size();
virtual bool load_from_gml_ast(NonnullRefPtr<GUI::GML::Node> ast, RefPtr<Core::Object> (*unregistered_child_handler)(String const&)) override;
ScrollableContainerWidget();