<?xml version="1.0" encoding="utf-8"?>
<button>
  <title>Shadow text</title>
  <svg xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink"
	   width="8" height="8">
    <defs>
      <text id="text" x="50%" y="50%" style="font-size:26;font-style:normal;font-weight:normal;"
      		text-anchor="middle" dominant-baseline="middle">button</text>
    </defs>
	<rect id="background" x="0" y="0" width="100%" height="100%" rx="10" ry="10" fill="none"/>
    <use id="shadow" xlink:href="#text" x="2" y="2" style="fill:#888888"/>
    <use id="textc" xlink:href="#text" x="0" y="0" style="fill:#FFFFFF"/>
  </svg>
  <parameters>
    <parameter>
      <title>Label</title>
      <name>text</name>
      <type>text</type>
      <element>text</element>
    </parameter>
	<parameter>
      <title>Text colour</title>
      <name>text_fill</name>
      <type>colour</type>
      <element>textc</element>
	  <attribute>fill</attribute>
	  <changeable/>
	  <default-value>
	     <highlighted>#0000FF</highlighted>
		 <selected>#FF0000</selected>
	  </default-value>
    </parameter>
    <parameter>
      <title>Shadow colour</title>
      <name>text_shadow</name>
      <type>colour</type>
      <element>shadow</element>
	  <attribute>fill</attribute>
    </parameter>
    <parameter>
      <title>Shadow offset x</title>
      <name>shadow_x</name>
      <type>integer(-999,999)</type>
      <element>shadow</element>
	  <attribute>x</attribute>
    </parameter>
    <parameter>
      <title>Shadow offset y</title>
      <name>shadow_y</name>
      <type>integer(-999,999)</type>
      <element>shadow</element>
	  <attribute>y</attribute>
    </parameter>
	<parameter>
      <title>Background colour</title>
      <name>bgFill</name>
      <type>colour</type>
      <element>background</element>
	  <attribute>fill</attribute>
    </parameter>
    <parameter>
      <title>Rx</title>
      <name>rx</name>
      <type>integer</type>
      <element>background</element>
	  <attribute>rx</attribute>
    </parameter>
    <parameter>
      <title>Ry</title>
      <name>ry</name>
      <type>integer</type>
      <element>background</element>
	  <attribute>ry</attribute>
    </parameter>
  </parameters>
  <init-parameter>text</init-parameter>
  <default-size>
    <width>8|text+8</width>
    <height>8|text+8</height>
  </default-size>
  <min-size>
    <width>8|text</width>
    <height>8|text</height>
  </min-size>
</button>
