On 5/9/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Is it possible to strike (line) through text in Flex?
>
> I tried
> <mx:Style>
>    .cancled {text-decoration: line-through;}
> </mx:Style>
>
> <mx:Label
>    text="{draws.currentItem.R_MOB_MNAME}"
>    styleName="cancled"/>

Strikethrough is not supported on the Flex text components. Not
directly anyway. You can use htmlText though and assign a StyleSheet
to the component. See the StyleSheet class (in the API docs) and the
styleSheet property.

Reply via email to