Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Vertical alignment
Vertical alignment [message #1747594] Wed, 16 November 2016 11:32 Go to next message
Kristine Jetzke is currently offline Kristine JetzkeFriend
Messages: 8
Registered: May 2016
Junior Member
Hi,

I'm trying to set the vertical alignment of a text to top but I cannot get it to work, the text stays in the center.

I used the filesystem example code and changed

text.setVerticalAlignment(Orientation.ALIGNMENT_CENTER);

to
text.setVerticalAlignment(Orientation.ALIGNMENT_TOP);

in
org.eclipse.graphiti.examples.filesystem.patterns.FilePattern.doAdd(IAddContext)
to no effect.

Any suggestions on what else I need to change to get it working?

Thanks,

Kristine
Re: Vertical alignment [message #1747997 is a reply to message #1747594] Thu, 17 November 2016 14:27 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Kristine,

that appears to be a bug in Graphiti. Would you please file this as a Bugzilla against Graphiti?

Thanks,
Michael
Re: Vertical alignment [message #1748105 is a reply to message #1747997] Fri, 18 November 2016 14:02 Go to previous message
Kristine Jetzke is currently offline Kristine JetzkeFriend
Messages: 8
Registered: May 2016
Junior Member
Thanks, I created https://bugs.eclipse.org/bugs/show_bug.cgi?id=507729
Previous Topic:Update diagram when drag and drop
Next Topic:Bring Connection shape to front (z-index)
Goto Forum:
  


Current Time: Fri Mar 29 09:40:08 GMT 2024

Powered by FUDForum. Page generated in 0.04821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top