Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 235083

Summary: Need ability to specify font attributes for palette title
Product: [Tools] GEF Reporter: Stephen <stephen.pantry>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: hudsonr
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Stephen CLA 2008-06-02 05:56:32 EDT
The palette title appears to always draw with a bold font.

Our customer spotted that this is inconsistent with the rest of the system, and it does indeed look a little ugly in our use case.

Would be very useful to have a hook to allow clients to specify the font customisation attributes to be used - rather than just assuming SWT.BOLD.

Only workaround I can see for this (which does work, at a cost) is to copy code for FlyoutPaletteComposite and change the FontManager to not apply the bold attribute. This is too risky for the relatively small cosmetic benefit, given that we will lose benefit of any bug fixes in future GEF releases.
Comment 1 Randy Hudson CLA 2008-06-04 09:51:11 EDT
In 3.4, the font was changed to normal for everyone.