--- a/messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbody.css Tue Jul 06 14:12:40 2010 +0300
+++ b/messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbody.css Wed Aug 18 09:45:25 2010 +0300
@@ -87,10 +87,18 @@
}
/*************************** Character Counter ******************************/
+
MsgUnifiedEditorBody::charCounter
{
- size-policy:fixed fixed;
- pref-height:-1;
- pref-width:-1;
- text-height:var(hb-param-text-height-tiny);
+ text-height:var(hb-param-text-height-tiny);
+ text-align:centre;
+ text-line-count-min: 1;
+ text-line-count-max: 1;
}
+
+MsgUnifiedEditorBody::charCounterFrame
+{
+ size-policy: fixed, fixed ;
+ pref-height: expr(var(hb-param-text-height-tiny)+2*var(hb-param-margin-gene-middle-vertical));
+ pref-width: expr(var(hb-param-text-height-tiny)*3 + 2*var(hb-param-margin-gene-middle-horizontal));
+}