Probable BUG during renaming of a node with custom size [message #109239] |
Tue, 06 March 2007 09:13  |
Eclipse User |
|
|
|
Originally posted by: angelo.marguglio.eng.it
Hi all!I have noticed that if I create a new node with only one click, I am
able to rename this node and its dimensions change when this event takes
place.Instead if I create a new node, specifying its dimensions dragging the
mouse, I can still rename this node, but its dimensions remain the same.Is
this a bug or an error of mine?Thanks in advanceAngelo
|
|
|
|
|
|
Re: Probable BUG during renaming of a node with custom size - SOLVED [message #110578 is a reply to message #110018] |
Fri, 09 March 2007 09:26  |
Eclipse User |
|
|
|
Originally posted by: angelo.marguglio.eng.it
Thanks for the idea! I've just coded this! Now all works fine!
Thanks a lot!
BYE
"Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
news:esmuum$441$2@utils.eclipse.org...
>I guss what you need is to avoid setting the size on your view then you
>will get this behavior, or you always force the width and height on your
>view to be -1.
>
> I hope this helps
>
> Angelo Marguglio wrote:
>> Thanks for the idea! But I have even a problem: I'd like to run an
>> AutoSizeCommand every time the user modifies the size of a node in order
>> to make "Auto Size Mode" always active. How can I find this kind of
>> action? Does it just exist?
>>
>>
>> "Mohammed Mostafa" <mmostafa@ca.ibm.com> ha scritto nel messaggio
>> news:esksek$3if$1@utils.eclipse.org...
>>> Hi ;
>>> This is not a bug.
>>>
>>> when you create a shape using the one click the shape will have no size
>>> assigned to it and it will be in an Auto Size mode, that is why when you
>>> change the name the shape will grow or will shrink.
>>>
>>> but if you specify the shape size by dragging the mouse while creating
>>> the shape then the size is set on the shape and it will not resize
>>> automatically. To re-enable the auto size functionality on this shape
>>> you have to select the shape and hit the auto size button on the tool
>>> bar
>>>
>>> I hope this helps
>>>
>>> Angelo Marguglio wrote:
>>>> Hi all!I have noticed that if I create a new node with only one click,
>>>> I am able to rename this node and its dimensions change when this event
>>>> takes place.Instead if I create a new node, specifying its dimensions
>>>> dragging the mouse, I can still rename this node, but its dimensions
>>>> remain the same.Is this a bug or an error of mine?Thanks in
>>>> advanceAngelo
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04165 seconds