Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid - Columnheader / JFace Tableviewer Columnheader
Grid - Columnheader / JFace Tableviewer Columnheader [message #53098] Thu, 15 May 2008 08:45 Go to next message
Peter Pfeifer is currently offline Peter Pfeifer
Messages: 98
Registered: July 2009
Member
Hello there.

Comparing the grid with a JFace tableviewer one big difference is quite
obvious. While a JFace tableviewer is filling the remaining space up
with a "dummy column header" the nebula grid doesn't draw anything on
the remaining space. In terms of visual acceptance it would be nice if
the grid paints such a "dummy column header" as well.

Is this possible?

Thanks.

Peter
Re: Grid - Columnheader / JFace Tableviewer Columnheader [message #53124 is a reply to message #53098] Thu, 15 May 2008 09:16 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5296
Registered: July 2009
Senior Member
I'd suggest porting the TableColumnLayout from JFace this way you can
ensure that the whole space available is always used.

By the way how SWT-Table-Control use the space depends on your OS. E.g.
on GTK the last column is simply resized to fillup the gap.

Tom

Peter Pfeifer schrieb:
> Hello there.
>
> Comparing the grid with a JFace tableviewer one big difference is quite
> obvious. While a JFace tableviewer is filling the remaining space up
> with a "dummy column header" the nebula grid doesn't draw anything on
> the remaining space. In terms of visual acceptance it would be nice if
> the grid paints such a "dummy column header" as well.
>
> Is this possible?
>
> Thanks.
>
> Peter


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Grid - Columnheader / JFace Tableviewer Columnheader [message #589880 is a reply to message #53098] Thu, 15 May 2008 09:16 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5296
Registered: July 2009
Senior Member
I'd suggest porting the TableColumnLayout from JFace this way you can
ensure that the whole space available is always used.

By the way how SWT-Table-Control use the space depends on your OS. E.g.
on GTK the last column is simply resized to fillup the gap.

Tom

Peter Pfeifer schrieb:
> Hello there.
>
> Comparing the grid with a JFace tableviewer one big difference is quite
> obvious. While a JFace tableviewer is filling the remaining space up
> with a "dummy column header" the nebula grid doesn't draw anything on
> the remaining space. In terms of visual acceptance it would be nice if
> the grid paints such a "dummy column header" as well.
>
> Is this possible?
>
> Thanks.
>
> Peter


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Grid - Columnheader / JFace Tableviewer Columnheader
Next Topic:Gantt Widget 2.0 - Any Requests?
Goto Forum:
  


Current Time: Sat Aug 30 12:36:03 EDT 2014

Powered by FUDForum. Page generated in 0.01933 seconds