Replies: 3 comments 6 replies
-
In searching, I discovered |
Beta Was this translation helpful? Give feedback.
-
You will need to handle gesture recognizers and styling the link with When you use the inline widget, it will consider the whole widget as a single rectangle and (most likely) will put it on the next line. |
Beta Was this translation helpful? Give feedback.
-
Yeah, you cannot use block-level effects like border radius. You can only use things from |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make links more powerful by attaching a gesture detector to them and giving me the ability to do a few things with them once they are clicked. So what Ive done is create a
LinkWidget
and then replace those links in my text with my widget as follows:This allows my
LinkWidget
to take over and display a stylized LinkWidget with all the customGestureDetector
functions I want when tapping the link.The only problem with this method is that the widget will not wrap the text when the link is long so it does not look naturally inline with the surrounding normal html text. Its almost like doing a
display:block
on a div.So for example it will look like this
What Id ideally like is for it to look like this:
I'd still love to use my own LinkWidget to control how links look and function, but is there a better way to integrate it so the text of the linkWidget wraps properly within a block of text
Beta Was this translation helpful? Give feedback.
All reactions