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:
parent
6b6594e3d0
commit
bdff88d8d5
4 changed files with 29 additions and 8 deletions
|
@ -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 = {});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue