[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Center a Label in a Node

Hello,
It didn't work, if I add a BorderLayout to my Node Figure, then the only option I have is to add a 'Dimension'(Dx, Dy) to the BorderLayout, I don't have the option to 'center'.
Then I tryed to enter the code directly in the Java Class edit part of my node figure, as you told me, but it doesn't work (now the node doesn't appear and I have the error in java 'index doesn't exist' (because of the second parameter in the add function).
Is there another way to do this or do you know what this errors stand for?
thank you very much
Cecilia