Skip to main content



      Home
Home » Eclipse Projects » GEF » Own Layout Manager ClientArea issue
Own Layout Manager ClientArea issue [message #203109] Thu, 17 November 2005 12:35 Go to next message
Eclipse UserFriend
Originally posted by: awm_abu.yahoo.com

Hello,

I am currently working on my own Layout Manager which is a subclass of
XYLayout.

Basically I take the client area of my Diagram and divide it into a series
of equally sized cells.

When I am adding Figures I add them to cells (from left to right at the
moment).

So far so good.

However when I get to the edge of the visible region it does not increase
and no scrollbars appear.

What do I have to do to get the visibile area (client area) to increase ?

Any help greatly appreciated.

Thanks.
Re: Own Layout Manager ClientArea issue [message #203156 is a reply to message #203109] Fri, 18 November 2005 14:15 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

If you want each cell to have a scrollbar, you'll have to add scroll panes
to each of those. Otherwise, your cell will have to expand and report a
bigger preferred size so that it can accommodate the child that is out of
bounds.

"Frank Abercorn" <awm_abu@yahoo.com> wrote in message
news:dlievg$fq9$1@news.eclipse.org...
> Hello,
>
> I am currently working on my own Layout Manager which is a subclass of
> XYLayout.
>
> Basically I take the client area of my Diagram and divide it into a series
> of equally sized cells.
>
> When I am adding Figures I add them to cells (from left to right at the
> moment).
>
> So far so good.
>
> However when I get to the edge of the visible region it does not increase
> and no scrollbars appear.
>
> What do I have to do to get the visibile area (client area) to increase ?
>
> Any help greatly appreciated.
>
> Thanks.
>
>
Previous Topic:AssertionFailedException with DND of binary type
Next Topic:Reset ScrollPane
Goto Forum:
  


Current Time: Wed Jun 25 03:43:06 EDT 2025

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

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

Back to the top