Community
Participate
Working Groups
Build Identifier: It would be nice to extend following widgets for CSS support in the RWT client code: -TreeItem -TableItem -Text for perspective button -Text for HyperLink -Text for menu header -Text for subtask in ProgressMonitor -Text for section -Page header text in multiple page editor Requested property: "font" Thanks Reproducible: Always
Table CSS element has a property "font". Probably you could use it. We should add the same property for Tree. Currently, there is no "font" property for TreeItem/TableItem. As Text widget already has a property "font" you need to set a custom variant on these widgets which represent the corresponding UI element. Even then, I'm not sure if the font is not set explicitly from the JFace/Workbench code. If this is the case, the CSS font will be overrided.
TableColumn has a property "font", but Table and TableItem not. I want only that my hyperlinks, menu header and other widgets have the same font on every platfrom. It would be nice to set the font in the css and not in program code: tableItem.setFont(...); section.setFont(...);
(In reply to comment #2) > TableColumn has a property "font", but Table and TableItem not. In current CVS HEAD Table has "font" property and will be part of 1.5M4.
Added "font" CSS property to Tree element. Fixed with commit 1648a01bb401b361ef815bfaf11672a8394de0aa.