LibGUI: Show a hand cursor when hovering over a GUI::LinkLabel

This commit is contained in:
Andreas Kling 2020-12-28 00:59:09 +01:00
commit 0f1235be25
Notes: sideshowbarker 2024-07-19 00:30:57 +09:00

View file

@ -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);
}