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

LibGUI: Update GTableView's scrollbar range in response to resize.

This commit is contained in:
Andreas Kling 2019-02-28 13:25:52 +01:00
parent 82c22a7484
commit 827ec99a8f
2 changed files with 9 additions and 2 deletions

View file

@ -26,6 +26,7 @@ private:
virtual void resize_event(GResizeEvent&) override;
virtual void mousedown_event(GMouseEvent&) override;
void update_scrollbar_range();
int item_count() const;
Rect row_rect(int item_index) const;