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:
parent
644d5c5404
commit
0f1235be25
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue