1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

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
parent 644d5c5404
commit 0f1235be25

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