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

LibGUI: Make the LinkLabel widget keyboard-friendly

Make it tab-focusable and activate it with the return key. :^)
This commit is contained in:
Andreas Kling 2020-12-26 15:34:49 +01:00
parent 6b6594e3d0
commit bdff88d8d5
4 changed files with 29 additions and 8 deletions

View file

@ -53,6 +53,8 @@ public:
bool is_autosize() const { return m_autosize; }
void set_autosize(bool);
Gfx::IntRect text_rect() const;
protected:
explicit Label(String text = {});