homescreenapp/stateplugins/hsmenuworkerstateplugin/resource/hswidgetpreviewdialog.docml
changeset 77 4b195f3bea29
parent 60 30f14686fb04
child 81 7dd137878ff8
equal deleted inserted replaced
61:2b1b11a301d2 77:4b195f3bea29
     9     <widget name="preview_dialog" type="HbDialog">
     9     <widget name="preview_dialog" type="HbDialog">
    10         <enums name="dismissPolicy" value="NoDismiss"/>
    10         <enums name="dismissPolicy" value="NoDismiss"/>
    11         <widget name="label" role="HbDialog:headingWidget" type="HbLabel"/>
    11         <widget name="label" role="HbDialog:headingWidget" type="HbLabel"/>
    12         <widget name="container" role="HbDialog:contentWidget" type="HbWidget">
    12         <widget name="container" role="HbDialog:contentWidget" type="HbWidget">
    13             <widget name="icon_box" type="HbLabel">
    13             <widget name="icon_box" type="HbLabel">
    14                 <enums name="alignment" value="AlignHCenter|AlignTop"/>
    14                 <enums name="alignment" value="AlignAbsolute|AlignVCenter|AlignHCenter"/>
    15                 <enums name="aspectRatioMode" value="KeepAspectRatio"/>
    15                 <enums name="aspectRatioMode" value="KeepAspectRatio"/>
    16                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Minimum" verticalStretch="0"/>
    16                 <sizehint height="var(hb-param-text-height-secondary)" type="MINIMUM"/>
    17                 <sizehint height="32un" type="PREFERRED"/>
    17                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    18                 <sizehint height="var(hb-param-text-height-secondary)" type="MINIMUM" width="32un"/>
       
    19                 <contentsmargins bottom="0un" left="0un" right="0un" top="expr(var(hb-param-margin-gene-popup) )"/>
       
    20                 <sizehint type="MAXIMUM" width="32un"/>
       
    21                 <string locid="txt_applib_info_no_preview_available" name="plainText"/>
    18                 <string locid="txt_applib_info_no_preview_available" name="plainText"/>
    22                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    19                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    23             </widget>
    20             </widget>
       
    21             
    24             <real name="z" value="0"/>
    22             <real name="z" value="0"/>
    25             <layout orientation="Horizontal" type="linear">
    23            <layout type="anchor">
    26                 <stretchitem stretchfactor="1"/>
    24                 <anchoritem dst="icon_box" dstEdge="LEFT" spacing="var(hb-param-margin-gene-popup)" src="" srcEdge="LEFT"/>
    27                 <linearitem itemname="icon_box"/>
    25                 <anchoritem dst="icon_box" dstEdge="TOP" spacing="var(hb-param-margin-gene-popup)" src="" srcEdge="TOP"/>
    28                 <stretchitem stretchfactor="1"/>
    26                 <anchoritem dst="icon_box" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-popup)" src="" srcEdge="RIGHT"/>
       
    27                 <anchoritem dst="icon_box" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-popup)" src="" srcEdge="BOTTOM"/>
    29             </layout>
    28             </layout>
    30         </widget>
    29         </widget>
    31         <ref object="add_to_homescreen" role="HbWidget:addAction"/>
    30         <ref object="add_to_homescreen" role="HbWidget:addAction"/>
    32         <ref object="close" role="HbWidget:addAction"/>
    31         <ref object="close" role="HbWidget:addAction"/>
    33     </widget>
    32     </widget>