phonebookui/pbkcommonui/resources/style/cnteditviewheadingitem.widgetml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:27:18 +0200
changeset 24 0ba2181d7c28
child 27 de1630741fbe
permissions -rw-r--r--
Revision: 201007 Kit: 201011

<hbwidget version="0.1" type="cnteditviewheadingitem">

  <layout name="customLayout" type="mesh">
    <meshitem src="icon" srcEdge="LEFT" dst="" dstEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" />
    <meshitem src="icon" srcEdge="TOP" dst="" dstEdge="TOP" spacing="-1.0un" />

    <meshitem src="text" srcEdge="LEFT" dst="icon" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-middle-horizontal)" />
    <meshitem src="text" srcEdge="TOP" dst="" dstEdge="TOP" spacing="-1.0un" />
    <meshitem src="text" srcEdge="RIGHT" dst="" dstEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" />

    <meshitem src="second_text" srcEdge="TOP" dst="text" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-middle-vertical)" />
    <meshitem src="second_text" srcEdge="LEFT" dst="text" dstEdge="LEFT" />
    <meshitem src="second_text" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" spacing="1.0un" />
    <meshitem src="second_text" srcEdge="RIGHT" dst="" dstEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" />

    <meshitem src="background" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="background" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="background" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="background" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="iconArea" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="iconArea" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="iconArea" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="iconArea" srcEdge="RIGHT" dst="icon" dstEdge="RIGHT" />
  </layout>
  
  <layout name="customLayoutNoSecondText" type="mesh">
    <meshitem src="icon" srcEdge="LEFT" dst="" dstEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" />
    <meshitem src="icon" srcEdge="TOP" dst="" dstEdge="TOP" spacing="-1.0un" />
	<meshitem src="icon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" spacing="1.0un" />

    <meshitem src="text" srcEdge="LEFT" dst="icon" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-middle-horizontal)" />
    <meshitem src="text" srcEdge="CENTERV" dst="icon" dstEdge="CENTERV" />
    <meshitem src="text" srcEdge="RIGHT" dst="" dstEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" />

    <meshitem src="background" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="background" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="background" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="background" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="iconArea" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="iconArea" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="iconArea" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="iconArea" srcEdge="RIGHT" dst="icon" dstEdge="RIGHT" />
  </layout>
  
  <layout name="customLayoutNoText" type="mesh">
    <meshitem src="icon" srcEdge="LEFT" dst="" dstEdge="LEFT" spacing="-var(hb-param-margin-gene-left)" />
    <meshitem src="icon" srcEdge="TOP" dst="" dstEdge="TOP" spacing="-1.0un" />
	<meshitem src="icon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" spacing="1.0un" />

    <meshitem src="second_text" srcEdge="LEFT" dst="icon" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-middle-horizontal)" />
    <meshitem src="second_text" srcEdge="CENTERV" dst="" dstEdge="CENTERV" />
    <meshitem src="second_text" srcEdge="RIGHT" dst="" dstEdge="RIGHT" spacing="var(hb-param-margin-gene-right)" />

    <meshitem src="background" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="background" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="background" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="background" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="iconArea" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="iconArea" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="iconArea" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="iconArea" srcEdge="RIGHT" dst="icon" dstEdge="RIGHT" />
  </layout>

</hbwidget>