[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: How to set style for the multipage editor tab text (tab name)?
|
Hi,
Yeah I could change the font style of the multipage editor tab using the following code:
[code]
Object oTabFolder = getContainer();
if((oTabFolder != null) && (oTabFolder instanceof CTabFolder)){
CTabFolder tabFolder = (CTabFolder)oTabFolder;
CTabItem tabItem = tabFolder.getItem(index);
if(tabItem != null){
tabItem.setFont(tabFont);
}
}
[/code]
Thanks,
Prasanna