Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GridLayout behavior... bug or feature?
GridLayout behavior... bug or feature? [message #240244] Tue, 11 December 2007 13:44 Go to next message
Eclipse UserFriend
Originally posted by: m.seitner.gmx.de

Hi,

using the GridLayout I ran into the problem that it doesn't respect the
containers' border size while calculating the preferred size.

What it currently looks like:
http://img134.imageshack.us/img134/76/gridlayoutwithtitlebar bmu7.jpg

How I need it to work:
http://img236.imageshack.us/img236/506/gridlayoutwithtitleba rbqx6.jpg

Is the current behavior desired or should I file a bug?


Thanks,
Marian
Re: GridLayout behavior... bug or feature? [message #240279 is a reply to message #240244] Thu, 13 December 2007 16:15 Go to previous messageGo to next message
Asim Ullah is currently offline Asim UllahFriend
Messages: 24
Registered: July 2009
Junior Member
Hi Marian
Could you post a snippet of code the produces the problem?
A.
Re: GridLayout behavior... bug or feature? [message #240304 is a reply to message #240279] Mon, 17 December 2007 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: m.seitner.gmx.de

Hi Asim,

here we go... http://cl1p.net/GridLayout/

At first glance the provided GridLayout2 works pretty well, but if you
have a container with GridLayout2 and e.g. a TitleBarBorder nested
inside a container with ToolbarLayout you run into infinite loop
problems if the size hints are greater than -1.

Marian
Re: GridLayout behavior... bug or feature? [message #240373 is a reply to message #240244] Mon, 31 December 2007 20:55 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

This is a bug in the GridLayout. The class was ported from SWT and probably
differs from typical draw2d layouts in several ways, including the way the
hints are treated. Please open a bugzilla.

"Marian Seitner" <m.seitner@gmx.de> wrote in message
news:fjm489$hf2$1@build.eclipse.org...
> Hi,
>
> using the GridLayout I ran into the problem that it doesn't respect the
> containers' border size while calculating the preferred size.
>
> What it currently looks like:
> http://img134.imageshack.us/img134/76/gridlayoutwithtitlebar bmu7.jpg
>
> How I need it to work:
> http://img236.imageshack.us/img236/506/gridlayoutwithtitleba rbqx6.jpg
>
> Is the current behavior desired or should I file a bug?
>
>
> Thanks,
> Marian
Previous Topic:Child edit parts not getting notified
Next Topic:Move focus based on an event
Goto Forum:
  


Current Time: Thu Apr 25 08:15:56 GMT 2024

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

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

Back to the top