Gmf rcp lite ...resize/move problem [message #70154] |
Thu, 26 October 2006 09:21  |
Eclipse User |
|
|
|
Originally posted by: matroska.libero.it
Hi,
in gmf lite rich client application movement and resizing of figures is
only through fixed step (for example 5 pixels). I need single pixel
precision...What do i have to modify?
Thanks in advance
Tobia Loschiavo
|
|
|
|
|
|
Re: Gmf rcp lite ...resize/move problem [message #72716 is a reply to message #72693] |
Wed, 01 November 2006 10:14  |
Eclipse User |
|
|
|
Hi Cherie,
Unfortunately, your advice, while definitely helpful, does not apply to the
lite rcp version.
Best regards,
Boris
"Cherie Revells" <crevells@ca.ibm.com> wrote in message
news:eiac7k$f2h$2@utils.eclipse.org...
> Boris, John:
>
> I think the behavior you are seeing is the "snap to grid" behavior. If
> you turn "snap to grid" off in the "Rulers & Grid" properties section does
> it work as you would like?
>
> - Cherie
>
> Boris Blajer wrote:
>> Hi John,
>>
>> It turns out that this is a feature, not a bug :). (Moreover, it is
>> present in both lite and runtime-based versions. I was a bit misled by
>> assuming it is a lite-only problem).
>>
>> You may have single-pixel precision by pressing ALT when dragging.
>>
>> An alternative way is to modify the generated code (method getAdapter()
>> in the edit part for the diagram and compartments) to return null when
>> being adapted to SnapToHelper.class
>>
>> Best regards,
>> Boris
>>
>> "John Slave" <matroska@libero.it> wrote in message
>> news:ehqcp7$c9a$1@utils.eclipse.org...
>>> Hi,
>>>
>>> in gmf lite rich client application movement and resizing of figures is
>>> only through fixed step (for example 5 pixels). I need single pixel
>>> precision...What do i have to modify?
>>>
>>>
>>> Thanks in advance
>>> Tobia Loschiavo
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04067 seconds