Layer needed [message #167330] |
Mon, 07 February 2005 13:58 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
Hi, is there any layer that can extend, and narrow in 4 directions ?
There is a FreeformLayer which can extend in all 4 directions.
What I need is layer which can narrow too.
One which can notice that my editor extends or narrow (eg. when i maximize
my eclipse window), and layout my figures once again.
The FreeformLayer is almost what i need, but when I extract my editor to
fullScreen, after resizing editor window, my figures arent, layout again...
and they are not whole visible.
Please help
Sorry for my english :)
--
========================
Wojciech Jancz
Programista
Zak
|
|
|
Re: Layer needed [message #167508 is a reply to message #167330] |
Wed, 09 February 2005 12:46 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
> Hi, is there any layer that can extend, and narrow in 4 directions ?
......
why there is no answer for my question ??
is it to simple or is it to hard ?
...::WojT::..
|
|
|
|
Re: Layer needed [message #167806 is a reply to message #167658] |
Fri, 11 February 2005 07:23 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
> If I understand you correctly, you have a layout that lays its children
out
> based on the amount of screen-space available. Is that right? You'll
have
> to revalidate that figure when the FigureCanvas' size changes. Currently,
> when the size changes, the layout stops at the layered pane, since it's
not
> invalid. So it doesn't bother asking its children for their preferred
sizes
> based on the new width of the canvas, assuming that they're going to be
the
> same.
That's right.
I have done it like You said. Everything is ok when I am, expanding my
editor - figures are layed out properly (my listener works).
But when I am narrowing my editor children figures are still too big. :(...
I suppose I am doing something stupid :)
Maybe I need a rest (there is weekend approaching :) , and new week bring me
a solution.
Sometimes I think I am stupid. After about 6 months of working in GEF and
SWT I should know basics... but some problems are still not clear for me :)
...::WojT::..
|
|
|
Powered by
FUDForum. Page generated in 5.03173 seconds