Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SizeName property to Hyperlink widget #4829

Closed
2 tasks done
dweymouth opened this issue May 3, 2024 · 1 comment
Closed
2 tasks done

Add SizeName property to Hyperlink widget #4829

dweymouth opened this issue May 3, 2024 · 1 comment

Comments

@dweymouth
Copy link
Contributor

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

Currently it is not possible to have Hyperlink widgets of different sizes. This can be desirable in certain cases including Markdown (a header that is also a link), or in something like a music player app where an album title that is a hyperlink may want to be larger than the artist, etc.

Is it possible to construct a solution with the existing API?

No, without rebuilding the Hyperlink widget from scratch. Can't do it with RichText because RichText doesn't handle underline - the underline is drawn customly by Hyperlink.

Describe the solution you'd like to see.

Add a SizeName property to Hyperlink that is a theme size name for the text size. (eg Subheading)

@dweymouth
Copy link
Contributor Author

On develop for 2.5

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

No branches or pull requests

1 participant