|
Re: Rounded corners and bordered nodes [message #1860968 is a reply to message #1860963] |
Tue, 12 September 2023 12:54 |
|
Hi Leonard,
For the rounded corner, this option is only available on "container". According to your example, the problem I saw is that with a container the label is on the top (and not centered vertically). I have attached an example: "roundedCorner.png".
To locate more precisely the border node location, you have to customize the style progamatically. It is not possible directly in the VSM (odesign file). You can use the extension point "org.eclipse.sirius.diagram.ui.styleConfigurationProvider" (see global documentation here), by using the method getBorderItemLocatorProvider to return a specific border node locator. In this locator, you have to set the BorderItemOffset (8 pixels by default). The offset represents how much of a bordered node can be "inside" its parent.
Regards,
Laurent
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03392 seconds