Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » problems displaying a treeitem
problems displaying a treeitem [message #436577] Wed, 19 May 2004 17:05
Eclipse UserFriend
Originally posted by: christian_mangeot.ibi.com

I am using this code:
FontDialog fontDialog = new FontDialog(shell);
FontData fontData = fontDialog.open();
font = new Font(display, fontData);
childItem.setText(text);
if (newFont != null)
childItem.setFont(newFont);

When no font has been selected, the text is properly displayed. When a font
is selected, the text gets truncated.
Can someone point me to my error.
Previous Topic:Exception : ..... org/eclipse/swt/internal/gtk/GdkEvent ....
Next Topic:Swing JDesktopPane/JInternalFrame conunterpart in SWT??
Goto Forum:
  


Current Time: Thu Apr 18 23:57:01 GMT 2024

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

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

Back to the top