messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbodyeditor.css
changeset 76 60a8a215b0ec
equal deleted inserted replaced
73:ecf6a73a9186 76:60a8a215b0ec
       
     1 MsgUnifiedEditorBodyEditor
       
     2 {
       
     3   layout:layout-msg-editor;
       
     4 }
       
     5 
       
     6 MsgUnifiedEditorBodyEditor::msgEditor
       
     7 {
       
     8   left: -var(hb-param-margin-gene-left);
       
     9   right:var(hb-param-margin-gene-middle-horizontal);
       
    10   bottom:var(hb-param-margin-gene-middle-vertical);
       
    11   top:-var(hb-param-margin-gene-middle-vertical); 
       
    12   min-height:7.46un;
       
    13 }
       
    14 
       
    15 MsgUnifiedEditorBodyEditor::msgEditor:portrait
       
    16 {
       
    17    max-height: expr(var(hb-param-screen-long-edge)/4);
       
    18 }
       
    19 
       
    20 MsgUnifiedEditorBodyEditor::msgEditor:landscape
       
    21 {
       
    22     max-height: expr(var(hb-param-screen-short-edge)/3);
       
    23 }
       
    24 
       
    25 MsgUnifiedEditorBodyEditor::sendButton
       
    26 {
       
    27   top:-var(hb-param-margin-gene-middle-vertical);
       
    28   right: var(hb-param-margin-gene-right);
       
    29   bottom:var(hb-param-margin-gene-middle-vertical);
       
    30   fixed-width: 9.34un;
       
    31   fixed-height: 7.46un;
       
    32 }
       
    33 
       
    34 MsgUnifiedEditorBodyEditor::charCounter
       
    35 {
       
    36     text-height:var(hb-param-text-height-tiny);
       
    37     text-align:centre;
       
    38     text-line-count-min: 1;
       
    39     text-line-count-max: 1;
       
    40 }
       
    41 
       
    42 MsgUnifiedEditorBodyEditor::charCounterFrame
       
    43 {
       
    44     right:var(hb-param-margin-gene-middle-horizontal);
       
    45     top:-var(hb-param-margin-gene-middle-vertical); 
       
    46     size-policy: fixed, fixed ;
       
    47     pref-height: expr(var(hb-param-text-height-tiny)+2*var(hb-param-margin-gene-middle-vertical));
       
    48     pref-width: expr(var(hb-param-text-height-tiny)*3 + 2*var(hb-param-margin-gene-middle-horizontal));
       
    49 }