Skip to content
Discussion options

You must be logged in to vote

Hi,

To resize a node, enabling the "resizable" feature is only the first step: it enables the interaction on the client side, but it still needs to be handled by the server as well.

The server should:

  • Handle the ChangeBoundsOperation and modify the prefWidth/prefHeight of the node (This should be done by the default handler already; just make sure you use it, or override it in a way that still respects this behavior)
  • Ensure the prefWidth/prefHeight is set in the layout options of the HBox Node before it is sent back to the client (If you directly serialize the Json Node as we do in the Workflow Example, this should already be covered by the ChangeBoundsOperationHandler. If you're using y…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants