mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
LibGUI: Add custom layout change handling to ScrollableContainerWidget
This commit is contained in:
parent
d0a418540e
commit
247e3ef6e7
2 changed files with 22 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue