idlehomescreen/widgetmanager/src/wmdetailsdlg.cpp
changeset 2 08c6ee43b396
parent 1 5315654608de
child 5 c743ef5928ba
--- a/idlehomescreen/widgetmanager/src/wmdetailsdlg.cpp	Thu Jan 07 12:39:41 2010 +0200
+++ b/idlehomescreen/widgetmanager/src/wmdetailsdlg.cpp	Mon Jan 18 20:10:36 2010 +0200
@@ -239,7 +239,14 @@
     TCharFormatMask charFormatMask;
     CParaFormat paraFormat;
     TParaFormatMask paraFormatMask;
-    paraFormat.iHorizontalAlignment = CParaFormat::EJustifiedAlign;
+    if ( Layout_Meta_Data::IsMirrored() )
+        {
+        paraFormat.iHorizontalAlignment = CParaFormat::ERightAlign;
+        }
+    else
+        {
+        paraFormat.iHorizontalAlignment = CParaFormat::ELeftAlign;
+        }
     charFormat.iFontPresentation.iTextColor = color;
     paraFormatMask.SetAttrib(EAttAlignment);
     charFormatMask.SetAttrib(EAttFontTypeface);