|
|
|
|
Re: Label behaviour in GMF2.1 [message #220878 is a reply to message #220864] |
Tue, 10 March 2009 12:00 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
-> gd.verticalAlignment = GridData.BEGINNING;
*...*
Steffen Becker schrieb:
> Hi,
>
> thanks for the answer, but it was not what I intended. The label should
> be in center position but on the north border of the figure, i.e.,
> centred only horizontally but not vertically.
>
> Thanks,
> Steffen
>
> Cayla Sha schrieb:
>> Hello Steffen,
>>
>> you can center a label with the GridLayout:
>> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg16168.html
>>
>> Julia
>>
>>
>> Steffen Becker schrieb:
>>> Hi,
>>>
>>> I'm trying to migrate GMF2.0 editors to GMF2.1. I have a problem with
>>> the labels of the nodes but could not find an answer. I want the node
>>> label and its icon centred at the top of the node.
>>>
>>> The problem has already been described but not solved before (see
>>> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg13974.html)
>>>
>>>
>>> Is there a solution by now? I would rather dislike using generated
>>> not's or patch the generator as this was the default behaviour in
>>> GMF2.0.
>>>
>>> Thanks,
>>> Steffen
|
|
|
Powered by
FUDForum. Page generated in 0.03280 seconds