Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Use "hand" cursor for links as a default #15

Open
dlemmermann opened this issue Jul 1, 2021 · 4 comments
Open

Use "hand" cursor for links as a default #15

dlemmermann opened this issue Jul 1, 2021 · 4 comments

Comments

@dlemmermann
Copy link

I think it would make sense to use the hand cursor as the default cursor for .markdown-link elements.

@FlorianKirmaier
Copy link
Contributor

True, i guess it's relevant for desktop, because on the web, the link get's the hand-cursor from the browser

@FlorianKirmaier
Copy link
Contributor

FlorianKirmaier commented Jul 6, 2021

No description provided.

@dlemmermann
Copy link
Author

You added your last comment to the wrong ticket.

@sghpjuikit
Copy link

Can be specified in css stylesheet:

.markdown-link {
    -fx-cursor: HAND;
    -fx-fill: -mdfx-link-color;
}

Or in code:

         MarkdownView() {
            override fun setLink(node: Node?, link: String?, description: String?) {
               node?.cursor = HAND
            }
         }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants