Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Label positioning
Label positioning [message #1781191] Fri, 02 February 2018 12:03
Ran Wei is currently offline Ran WeiFriend
Messages: 119
Registered: September 2012
Location: York, UK
Senior Member
Hi there,

I am hoping that I could get some help this time (fingers crossed).

I am trying to display two labels in a node. I have created the graph model like this:
Figure Gallery Default
    -Figure Descriptor NodeFigure
        -Rectangle
            -XY Layout
            -Minumum Size:[150,90]
            -Label nameLabel
                -XY Layout Data
                    -(0,0)
                    -[130,20]
            -Label descriptionLabel
                -XY Layout Data
                    -(0,40)
                    -[130,20]

The labels are displayed correctly, but the layout does not seem to work. Any suggestions?

Cheers,
Ran Wei


Research Associate
Department of Computer Science
University of York

[Updated on: Fri, 02 February 2018 12:06]

Report message to a moderator

Previous Topic:Multiple Diagrams for a single file
Next Topic:Error message: Node is referenced from multiple containers with different 'List Layout' value
Goto Forum:
  


Current Time: Thu Apr 25 14:06:13 GMT 2024

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

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

Back to the top