mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +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)
|
LinkLabel::LinkLabel(String text)
|
||||||
: Label(move(text))
|
: Label(move(text))
|
||||||
{
|
{
|
||||||
|
set_override_cursor(Gfx::StandardCursor::Hand);
|
||||||
set_foreground_role(Gfx::ColorRole::Link);
|
set_foreground_role(Gfx::ColorRole::Link);
|
||||||
set_focus_policy(FocusPolicy::TabFocus);
|
set_focus_policy(FocusPolicy::TabFocus);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue