Thanks Greg for your prompt response, and additional tips! Bojan
Greg Brown said the following on 28/11/2010 14:40:
Hi, This wasn't supported so I added two new styles to TerraFormSkin: "separatorColor" and "separatorHeadingColor". These styles now manage the appearance of all sections headings in the form. FYI - an element's attributes in BXML are defined by the Java bean properties of the class. If you want to see what attributes an element supports, you just need to look at the Javadoc. Similarly, a component's styles are defined by the Java bean properties of the currently installed skin. You can simply look at the Javadoc for the skin class (generally either in org.apache.pivot.wtk.skin or org.apache.pivot.wtk.skin.terra) to see what styles are supported. For more information on how BXML maps to Java, see the BXML Primer (2.0 version): http://ixnay.biz/pivot-tutorials/bxml-primer.html G On Nov 28, 2010, at 6:41 AM, Bojan Vučinić wrote:Hi All, I'd like to set the color and the font of Form.Section Headings. Any hints how to do that (I've tried some color="xxx", and styles={, but these don't exist)? TIA, Bojan
