[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Redraw?

Is it a new tab folder or just a plain tab. If it's just a tab, they should appear already. If it's the entire tab folder, look into layout() and it's derivatives. I was having the same problem adding things like that during runtime, but running layout() after the item has been added will force the parent to "place" any items that just had a layout set on them.

Hope this helps,

Mike

Stephen wrote:
I have one composite and i'll be adding new tab folder on the fly (e.g when an action is performed). But for now, it's need to do something with the parent, like resize or something. What will be solution NOT to do like that? Like, as soon as a new tab folder is added, it will be appeared in the composite. redraw() or something needed?