Not able to resize on using layouts #774
-
I am using HBOX layout for a rectangular node that has both editlabel feature and resize feature. Resize handles are shown for the node. But, on dragging/adjusting the size manually, the node is not getting resized. It is taking the label width always. May I know what I might be missing. I have added below lines under setProperties of the nodebuilder.java file. Also have enabled resize feature for the node from diconfig file. node.setLayout(GConstants.Layout.HBOX); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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:
|
Beta Was this translation helpful? Give feedback.
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: