messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbody.css
changeset 41 25fe1fe642e3
parent 37 518b245aa84c
child 76 60a8a215b0ec
--- a/messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbody.css	Tue Jul 06 22:50:16 2010 +0530
+++ b/messagingapp/msgui/unifiededitor/resources/layouts/msgunifiededitorbody.css	Fri Jul 09 14:46:10 2010 +0530
@@ -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));
+}