Genero Desktop Client 2.30 New Features / Widgets: Genero Desktop Client 2.30 New Features |
Styles can now be applied to MESSAGE and ERROR statements.
Support for message styling has been added in 2.30. When using the MESSAGE or ERROR statement, you can customize how the information is displayed. The AUI Tree defines ERROR and MESSAGE as the same node Message, so GDC 2.30 introduced new pseudo-selectors Message:error and Message:message. Now it is possible to:
Supported Style Attributes are:
<Style name="Message:error"> <StyleAttribute name="textColor" value="red" /> <StyleAttribute name="fontWeight" value="bold" /> </Style> <Style name="Message:message"> <StyleAttribute name="textColor" value="blue" /> </Style> <Style name="Message.yellow"> <StyleAttribute name="textColor" value="yellow" /> </Style>
Statement | Result |
---|---|
MESSAGE "This is a message" | |
ERROR "This is an error" | |
MESSAGE "This is a message" ATTRIBUTES( STYLE="yellow" ) | |
ERROR "This is an error" ATTRIBUTES( STYLE="yellow" ) |