messagingapp/msgui/conversationview/resources/layouts/msgeditorwidget.css
changeset 52 12db4185673b
parent 27 e4592d119491
--- a/messagingapp/msgui/conversationview/resources/layouts/msgeditorwidget.css	Tue Jul 06 14:12:40 2010 +0300
+++ b/messagingapp/msgui/conversationview/resources/layouts/msgeditorwidget.css	Wed Aug 18 09:45:25 2010 +0300
@@ -23,8 +23,15 @@
 
 MsgEditorWidget::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;
 }
+
+MsgEditorWidget::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));
+}