Font for Disabled Widgets

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Font for Disabled Widgets

Postby jleotta » Mon Mar 14, 2005 8:31 am

Is there a way to set the disabled font to be bold? If there is no way to do this in Designer would anyone care to let me know how to do this?

Thanks,
Jim
jleotta
 
Posts: 31
Joined: Tue Aug 03, 2004 9:46 am

Re: Font for Disabled Widgets

Postby Eric Clayberg » Mon Mar 14, 2005 5:47 pm

jleotta wrote:Is there a way to set the disabled font to be bold? If there is no way to do this in Designer would anyone care to let me know how to do this?

There is no disabled font property in SWT. The way to do is to programatically change the font using setFont() any time you disable the widget.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest