emailuis/nmailui/resources/mail_editor.docml
changeset 72 64e38f08e49c
equal deleted inserted replaced
65:478bc57ad291 72:64e38f08e49c
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.1">
       
     3     <object name="action" type="HbAction">
       
     4         <string locid="txt_mail_button_attach" name="text"/>
       
     5         <bool name="checkable" value="FALSE"/>
       
     6         <bool name="enabled" value="TRUE"/>
       
     7         <icon iconName="qtg_mono_attach" name="icon"/>
       
     8         <bool name="visible" value="TRUE"/>
       
     9     </object>
       
    10     <object name="action_1" type="HbAction">
       
    11         <string locid="txt_common_button_send" name="text"/>
       
    12         <bool name="checkable" value="FALSE"/>
       
    13         <bool name="enabled" value="FALSE"/>
       
    14         <icon iconName="qtg_mono_send" name="icon"/>
       
    15         <bool name="visible" value="TRUE"/>
       
    16     </object>
       
    17     <widget name="NmEditorView" type="HbView">
       
    18         <widget name="content" role="HbView:widget" type="HbWidget">
       
    19             <widget name="scrollArea" type="HbScrollArea">
       
    20                 <widget name="scrollAreaContents" role="HbScrollArea:contents" type="HbWidget">
       
    21                     <widget name="editorToField" type="HbWidget">
       
    22                         <widget name="editorToLabel" type="HbLabel">
       
    23                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    24                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
       
    25                             <string locid="txt_mail_editor_to" name="plainText"/>
       
    26                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
       
    27                         </widget>
       
    28                         <widget name="editorToEdit" type="HbLineEdit">
       
    29                             <enums name="alignment" value="AlignAbsolute"/>
       
    30                             <bool name="adjustFontSizeToFitHeight" value="FALSE"/>
       
    31                             <sizepolicy horizontalPolicy="MinimumExpanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    32                             <sizehint height="7.5un" type="MINIMUM"/>
       
    33                             <bool name="enabled" value="TRUE"/>
       
    34                         </widget>
       
    35                         <widget name="editorToButton" type="HbPushButton">
       
    36                             <icon iconName="qtg_mono_contacts" name="icon"/>
       
    37                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    38                             <sizehint height="7.5un" type="FIXED" width="9.5un"/>
       
    39                             <string name="state" value="normal"/>
       
    40                         </widget>
       
    41                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    42                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
       
    43                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
       
    44                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
       
    45                             <linearitem itemname="editorToLabel"/>
       
    46                             <linearitem itemname="editorToEdit"/>
       
    47                             <linearitem itemname="editorToButton"/>
       
    48                         </layout>
       
    49                     </widget>
       
    50                     <widget name="editorSubjectField" type="HbWidget">
       
    51                         <widget name="editorSubjectLabel" type="HbLabel">
       
    52                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    53                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
       
    54                             <string locid="txt_mail_editor_subject" name="plainText"/>
       
    55                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
       
    56                         </widget>
       
    57                         <widget name="editorSubjectEdit" type="HbLineEdit">
       
    58                             <sizehint type="PREFERRED" width="26.22948un"/>
       
    59                             <sizehint type="MAXIMUM" width="2504062.01158un"/>
       
    60                             <sizehint height="7.5un" type="MINIMUM" width="26.22948un"/>
       
    61                         </widget>
       
    62                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    63                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
       
    64                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
       
    65                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
       
    66                             <linearitem itemname="editorSubjectLabel"/>
       
    67                             <linearitem itemname="editorSubjectEdit"/>
       
    68                         </layout>
       
    69                     </widget>
       
    70                     <real name="z" value="0"/>
       
    71                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    72                     <sizehint height="85.52239un" type="PREFERRED"/>
       
    73                     <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
       
    74                         <contentsmargins bottom="0un" left="0un" right="0un" top="var(hb-param-margin-gene-top)"/>
       
    75                         <linearitem itemname="editorToField"/>
       
    76                         <linearitem itemname="editorSubjectField"/>
       
    77                     </layout>
       
    78                 </widget>
       
    79                 <enums name="scrollDirections" value="Vertical"/>
       
    80                 <enums name="verticalScrollBarPolicy" value="ScrollBarAlwaysOff"/>
       
    81                 <enums name="horizontalScrollBarPolicy" value="ScrollBarAlwaysOff"/>
       
    82             </widget>
       
    83             <layout type="anchor">
       
    84                 <anchoritem dst="scrollArea" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    85                 <anchoritem dst="scrollArea" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
    86                 <anchoritem dst="scrollArea" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    87                 <anchoritem dst="scrollArea" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    88             </layout>
       
    89         </widget>
       
    90         <widget name="NmEditorViewToolBar" role="HbView:toolBar" type="HbToolBar">
       
    91             <ref object="action" role="HbWidget:addAction"/>
       
    92             <ref object="action_1" role="HbWidget:addAction"/>
       
    93         </widget>
       
    94         <string name="title"/>
       
    95     </widget>
       
    96     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
       
    97         <uistate name="Common ui state" sections="#common"/>
       
    98     </metadata>
       
    99 </hbdocument>