Auto resize of figures/compartments [message #202487] |
Tue, 19 August 2008 16:00 |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
Hello everybody,
I need some help with this issue: I have a GMF editor which works pretty
well, but I have this request: "the figures should resize (get larger) every
time a new element is added inside of them".
In other words, I have a figure called "Item" which has two compartments,
for two other types of elements: "Attributes" and "Issues". When I add an
Attribute, its compartment resizes automatically, but when I add an Issue
this doesn't happen. I also attached some pictures to make things clear
(hope they are). On the second figure you can notice that scroll-bars appear
on both compartments, instead of resizing the "Item" (the orange rectangle).
Can anyone tell me how to make the editor resize both types of compartments,
please?
Thanks,
Floppy
-
Attachment: Figure2.PNG
(Size: 65.47KB, Downloaded 271 times) -
Attachment: Figure1.PNG
(Size: 65.33KB, Downloaded 237 times)
|
|
|
Re: Auto resize of figures/compartments [message #202830 is a reply to message #202487] |
Thu, 21 August 2008 08:38 |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
Anybody? Any idea?
"Florin Banica" <fbanica@soluta.net> wrote in message
news:g8eqnj$jik$1@build.eclipse.org...
> Hello everybody,
>
> I need some help with this issue: I have a GMF editor which works pretty
> well, but I have this request: "the figures should resize (get larger)
> every time a new element is added inside of them".
>
> In other words, I have a figure called "Item" which has two compartments,
> for two other types of elements: "Attributes" and "Issues". When I add an
> Attribute, its compartment resizes automatically, but when I add an Issue
> this doesn't happen. I also attached some pictures to make things clear
> (hope they are). On the second figure you can notice that scroll-bars
> appear on both compartments, instead of resizing the "Item" (the orange
> rectangle).
>
> Can anyone tell me how to make the editor resize both types of
> compartments, please?
>
> Thanks,
>
>
> Floppy
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04262 seconds