Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems with Table(Viewer) and Columns
Problems with Table(Viewer) and Columns [message #467767] Mon, 06 February 2006 13:28
Nick is currently offline NickFriend
Messages: 34
Registered: July 2009
Member
hi all,

i have a table viewer with about 8 columns. i use SWT.FULL_SELECTION
to select the whole row, however if the columns aren't wide enough to
fill the table the selection doesn't reach to the right end of the
table.

therefor i added an empty column at the end which is always resized to
fill the table space. this works fine if i resize the view, but it
doesn't work if i resize a column. the vertical scrollbar isn't updated.
to update the scrollbar you have to start scrolling.

furthermore, i would like set the minimumsize of a column to 40 pixel.
therefor i added a ControlListener to each TableColumn to check if the
column is smaller than 40 pixel. but my approach creates very bad
flickering!

the table of Apple ITunes is an example of what i am trying to
implement. has anybody implemented something like this yet?

thanks,
nick
Previous Topic:Making table column fill page width
Next Topic:Hexagon
Goto Forum:
  


Current Time: Sun Dec 08 15:57:18 GMT 2019

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

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

Back to the top