|
Re: How can I center vertically a label inside a node? [message #1224743 is a reply to message #1224531] |
Fri, 27 December 2013 17:13 |
|
Hi Camilo,
Le 27/12/2013 02:57, Camilo Alvarez a écrit :
> How can I center vertically a label inside a node?
> is this possible with sirius?
If you create a NodeMapping, you will have two label positions available
for several styles, if you selected the 'node' position, label will be
vertically centered [1]
If you want to use a ContainerMapping (to create lists or containers),
the label will be placed on the top of the figure [2]. It is not
possible to vertically center the label of a Container by changing some
properties in the VSM editor, but it should be possible to change the
label position for containers by extending the core edit parts, policies
and figures.
Regards,
Maxime
[1]
http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#node_styles
[2]
http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#Container
Styles
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds