Who is responsible? [message #162959] |
Wed, 28 November 2007 08:59 |
paolo russian Messages: 81 Registered: July 2009 |
Member |
|
|
I've implemented a wyssiwyg "picture" node that gets jet-deployed in an
html image. Since I've got many other elements as groupboxes, spans,
tables... I've got half a dozen Picturebox(number)EditPart and edit
policies.
I made that as you istance a picture gmf shows you a default image from
the bundle, then you can choose your one with a file dialog. This works
great.
>> The problem << is that when I want to resize the picturebox just
istantiated, i cannot. Well, I can only "expand" the container and not
"reduce", plus the image do not get resized.
When I change the default image with another one on my harddisk, suddendly
I can expand and reduce the element as I want and get the content image
extended or shrinked accordingly, but I cannot shrink less than the 100%
proportions. Only expand, in other word.
If I drop in a kind of container I can do whatever I want, expand, move,
do everything and get the image perfeclty fit too.
I critically need this last behaviour to be performed in every situation,
but to track down which editpart is responsible for the different
situations, I placed in them some junkie sysouts like "nonumber".."one"
"six"... etc.. and guess.... It always seems to use the regular,
nonumbered Picturebox editpart!!!
So, I wonder how to workaround this. Any suggestion?
Thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.02518 seconds