1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibGUI: GTableView should scroll items into view when keyboard navigating.

This commit is contained in:
Andreas Kling 2019-03-01 14:29:34 +01:00
parent ac8fb5da4c
commit 574a399347
2 changed files with 48 additions and 5 deletions

View file

@ -26,6 +26,9 @@ public:
virtual bool accepts_focus() const override { return true; }
Rect visible_content_rect() const;
void scroll_into_view(const GModelIndex&, Orientation);
private:
virtual void model_notification(const GModelNotification&);