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

LibGUI: Move the editing widget along with the content when scrolling.

This commit is contained in:
Andreas Kling 2019-04-18 23:57:07 +02:00
parent 568f3125f3
commit 9cab7a0707
5 changed files with 21 additions and 1 deletions

View file

@ -39,6 +39,7 @@ public:
protected:
explicit GScrollableWidget(GWidget* parent);
virtual void resize_event(GResizeEvent&) override;
virtual void did_scroll() { }
void set_content_size(const Size&);
void set_size_occupied_by_fixed_elements(const Size&);