Hi Micah,

I think its absolutely desirable.  The tenant of SWT is platform 
look-n-feel.  I originally did intend on swapping renderers based on the 
platform (using SWT.getPlatform() rather than System.getProperty()) but 
its just low on my priority list.  If you work on this yourself, please 
attach the modified code/patch in bugzilla and I will commit it to the 
Grid.

Regards,
-Chris



From:
Micah Hainline <[EMAIL PROTECTED]>
To:
[email protected]
Date:
10/09/2007 01:50 PM
Subject:
[nebula-dev] [Grid] Look-and-feel


I noticed that the ToggleRenderer that is used in the
DefaultCellRenderer to display the + and - checkbox
doesn't have any support for the Vista tree
look-and-feel, and I'm curious first of all if that is
desirable, and second, how best to provide that
functionality.

This probably has broader implications for Nebula, as
these more advanced widgets are going to require more
custom drawing than the SWT widgets have in the past. 
Any ideas?  Lessons from Swing?  I could obviously
flex the ToggleRenderer based on
System.getProperty("os.name"), but I'm not sure that's
the best way to go about it. 


 
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who 
knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to