| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <widget id="html.label" displayName="Label" |
| smallIcon="label_small.png" icon.16="label_16.png" |
| category="HTML,Form Elements" |
| description="This widget is a standard HTML widget." |
| helpCategory="Tizen_Html" |
| helpContents="" |
| borderVisible="false"> |
| |
| <property name="id" type="string" displayName="ID" default="" category="Common"> |
| <condition name="string-id" error="string-id"/> |
| </property> |
| <property name="text" type="string" displayName="Text" default="" initValue="Label"/> |
| <property name="group-text" type="group-text" displayName="Text Style" default=""> |
| <property name="font-family" type="font@family" displayName="Font Family" selector="#%id%"/> |
| <property name="font-size" type="font@size" displayName="Font Size" selector="#%id%"/> |
| <property name="font-weight" type="css-font-weight" displayName="Font Weight" selector="#%id%"/> |
| <property name="font-style" type="css-font-style" displayName="Font Style" selector="#%id%"/> |
| <property name="text-decoration" type="css-text-decoration" displayName="Text Decoration" selector="#%id%"/> |
| <property name="color" type="css-color" displayName="Color" selector="#%id%"/> |
| </property> |
| |
| <event name="ontap" displayName="Tap" eventType="event.defaultevent" /> |
| <event name="ontaphold" displayName="TapHold" eventType="event.defaultevent" /> |
| <event name="onswipe" displayName="Swipe" eventType="event.defaultevent" /> |
| <event name="onswipeleft" displayName="SwipeLeft" eventType="event.defaultevent" /> |
| <event name="onswiperight" displayName="SwipeRight" eventType="event.defaultevent" /> |
| |
| <xsl-for-output xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| <xsl:template match="html.label"> |
| <label> |
| <xsl:call-template name="print-part-id"/> |
| <xsl:apply-templates select="@id" mode="simple-property"/> |
| <xsl:value-of select="@text"/> |
| </label> |
| </xsl:template> |
| </xsl-for-output> |
| </widget> |