Create custom label clickeable
See original GitHub issueHi I’m trying to create a buttom as label the button is rendered but in position 0,0 and it’s not moving when I move a related node
widget
model
registering
Diagram.RegisterModelComponent<SelectorLinkLabel, SelectorLinkLabelWidget>();
using it
var link1 = new LinkModel(node1, node2)
{
TargetMarker = LinkMarker.Arrow
};
link1.Labels.Add(new SelectorLinkLabel(link1));
Diagram.Links.Add(link1);
Any idea what it’s wrong?
Issue Analytics
- State:
- Created 10 months ago
- Comments:7
Top Results From Across the Web
How to use Custom Labels in Custom Button or Link
Custom labels cannot be used in Custom buttons or links. However, they can be used in URL type fields set via default values...
Read more >JAVAFX How to make a button stacked behind a Label ...
I think I have solved my own question. All I did was set a clickable event for my label. Label sp = new...
Read more >Create and Edit Custom Labels
From Setup, in the Quick Find box, enter Custom Labels , then select Custom Labels. To create a label, click New Custom Label....
Read more >Using Custom Labels
The Custom Labels feature is an extremely flexible and versatile way to customize Web pages to suit your individual needs. JAWS allows you...
Read more >How to use Custom Labels in Custom Button or Link
How to use Custom Labels in Custom Button or Link. I'm new to salesforce, Is there any way to use a Custom Label...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you try adding
pointer-events: all;
to your button or maybe even the foreignObject?Ok, it’s solved, I need to add the translate transform and the background color couldn’t be transparent
Thanks