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

LibGUI: Cycle through TabWidget tabs with Ctrl+Tab / Ctrl+Shift+Tab

Fixes #2022.
This commit is contained in:
Andreas Kling 2020-04-30 09:04:03 +02:00
parent a9f6f862e2
commit f2cdef5c47
2 changed files with 14 additions and 0 deletions

View file

@ -90,6 +90,7 @@ protected:
virtual void mousedown_event(MouseEvent&) override;
virtual void mousemove_event(MouseEvent&) override;
virtual void leave_event(Core::Event&) override;
virtual void keydown_event(KeyEvent&) override;
private:
Gfx::Rect child_rect_for_size(const Gfx::Size&) const;