Skip to main content


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 12:45 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
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 13:16 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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 13:16 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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: Tue Apr 23 06:48:54 GMT 2024

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

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

Back to the top