diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-28 00:59:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-28 01:02:57 +0100 |
commit | 0f1235be258f173a4906497bed95dae640c9103b (patch) | |
tree | 214893b357bd67c76c688877eece01f64893de87 /Libraries | |
parent | 644d5c5404cfebac3a9b1e915a59ba04acc730bd (diff) | |
download | serenity-0f1235be258f173a4906497bed95dae640c9103b.zip |
LibGUI: Show a hand cursor when hovering over a GUI::LinkLabel
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibGUI/LinkLabel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/LinkLabel.cpp b/Libraries/LibGUI/LinkLabel.cpp index a948554f81..a3045f2e70 100644 --- a/Libraries/LibGUI/LinkLabel.cpp +++ b/Libraries/LibGUI/LinkLabel.cpp @@ -36,6 +36,7 @@ namespace GUI { LinkLabel::LinkLabel(String text) : Label(move(text)) { + set_override_cursor(Gfx::StandardCursor::Hand); set_foreground_role(Gfx::ColorRole::Link); set_focus_policy(FocusPolicy::TabFocus); } |