|where to pack TableColumns on a refresh()? [message #446042]
||Tue, 16 November 2004 15:30
Originally posted by: lacougarbage.yahoo.ca|
I need to refresh a Table (inside a TableViewer) and I wrote a method
that packs my tablecolumns right after I refresh. Doing so gives a
weird behavior when the table gets painted. The columns first shrinks
to the width the tableColumns were defined with and they then get
expanded a fraction of a second later with the pack() method.
Is there anyway I can pack the columns before the display gets updated ?
So far I tried subclassing a TableViewer and override the protected
'refreshInternal(...)' methods but it did not work. Is there any way of
doing this ?
Powered by FUDForum
. Page generated in 0.01768 seconds