summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-28 00:59:09 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-28 01:02:57 +0100
commit0f1235be258f173a4906497bed95dae640c9103b (patch)
tree214893b357bd67c76c688877eece01f64893de87 /Libraries
parent644d5c5404cfebac3a9b1e915a59ba04acc730bd (diff)
downloadserenity-0f1235be258f173a4906497bed95dae640c9103b.zip
LibGUI: Show a hand cursor when hovering over a GUI::LinkLabel
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/LinkLabel.cpp1
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);
}