ForeignObject inside HBOX behaves weird #1640
Unanswered
arcanefoam
asked this question in
General
Replies: 1 comment
-
|
Hi @arcanefoam , thanks for reaching out and providing lots of details about your problem.
I see, achieving this behavior with a multi-line text field might be a bit tricky. I have to look into this and will come back to you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Compartment that holds a label and a foreign object:
And I have created a ForeignObject in the client following the example in the GLSP documentation. I have been playing with the bounds operation to try to figure out what is going on:
ForeignObject.mp4
In the attached video you can see that the node width shrinks, it happens every time I click on the node. My intuition tells me that it has something to do with the selection circles changing the effective width and that in turn affects my calculations. But you can also notice that when I change the size, the width of the foreign object changes a lot compared to the node width.
What I am trying to do is just get the label and the foreing object to be side by side, and the foreing object to fill the available space.
I am using version 2.5.0
Beta Was this translation helpful? Give feedback.
All reactions