following:

1 row: it contains 8 cells of equal width (don't know the width - it is

horizontal area divided by 8) and 80px height

2 -> 6 row: colspan for 8 cells but equal height - don't know how many

pixels in height

I want this table spread for a whole available area horizontally and

vertically,

which means that i will have a table with 8 headers (of 80px height) in

the first row,

and 5 rows spreading for whole horizontal space. These rows should have some

height which is: availableHeight - 80px / 5. I don't know the

availableHeight

and I want to have all this stuff resized when I change dialog size :-)

Each header and each row will be a Figure instance.

Simple right? :P I've spent whole day on it today :-(

Thanks in advance for your help.

--

Greetings

Piotr Górny]]>

Did you make use of the GridLayout available in Draw2D?

Cheers...

Anthony

"Piotr G]]>

>

> Did you make use of the GridLayout available in Draw2D?

>

> Cheers...

> Anthony

>

> "Piotr Górny" <airform@o2.pl> wrote in message

> news:evj180$sl5$1@build.eclipse.org...

>> Hi,

>> I'm using Draw2d alone. I want to get layout of 6 rows which goes as the

>> following:

>>

>> 1 row: it contains 8 cells of equal width (don't know the width - it is

>> horizontal area divided by 8) and 80px height

>> 2 -> 6 row: colspan for 8 cells but equal height - don't know how many

>> pixels in height

>>

>> I want this table spread for a whole available area horizontally and

>> vertically,

>> which means that i will have a table with 8 headers (of 80px height) in

>> the first row,

>> and 5 rows spreading for whole horizontal space. These rows should have

>> some

>> height which is: availableHeight - 80px / 5. I don't know the

>> availableHeight

>> and I want to have all this stuff resized when I change dialog size :-)

>>

>> Each header and each row will be a Figure instance.

>>

>> Simple right? :P I've spent whole day on it today :-(

>>

>> Thanks in advance for your help.

>>

>>

>> --

>> Greetings

>> Piotr Górny

>

>

Yes, but how would you tell it to grab whole vertical space and make

rows 2-6 equal height?

--

Greetings

Piotr Górny]]>