Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Layer needed
Layer needed [message #167330] Mon, 07 February 2005 13:58 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #167658 is a reply to message #167508] Thu, 10 February 2005 01:06 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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.

"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:cud0n6$lpr$1@www.eclipse.org...
> > 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 Go to previous message
Eclipse UserFriend
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::..
Previous Topic:How to get the notification when the figure is moved?
Next Topic:Drawing error while creating a new Connection
Goto Forum:
  


Current Time: Thu Apr 25 18:02:32 GMT 2024

Powered by FUDForum. Page generated in 5.03173 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top