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
commit 247e3ef6e7
Notes: sideshowbarker 2024-07-17 09:51:02 +09:00
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();