You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2015/05/22 00:38:18 UTC
[jira] [Created] (PIVOT-970) Add an "htmlStyle" attribute to Label
and other places
Roger Whitcomb created PIVOT-970:
------------------------------------
Summary: Add an "htmlStyle" attribute to Label and other places
Key: PIVOT-970
URL: https://issues.apache.org/jira/browse/PIVOT-970
Project: Pivot
Issue Type: New Feature
Components: wtk-terra
Affects Versions: 2.0.4, 2.1
Environment: All
Reporter: Roger Whitcomb
Assignee: Roger Whitcomb
Fix For: 2.1
It would be really cool to be able to apply some of the HTML style tags (such as <b>, <i>, <sup>, etc.) to text inside a Label. Then by extension things like Button.DataRenderer could inherit the same things. That way you could create buttons with interestingly styled text without having to create a bitmap.
It's a lot of work inside LabelSkin but it would translate easily to other places that use Labels for rendering.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)