logsui/logsapp/resources/hblistviewitem.css
changeset 4 e52d42f9500c
parent 0 4a5361db8937
child 21 2f0af9ba7665
--- a/logsui/logsapp/resources/hblistviewitem.css	Fri May 14 15:52:41 2010 +0300
+++ b/logsui/logsapp/resources/hblistviewitem.css	Thu May 27 12:51:53 2010 +0300
@@ -1,3 +1,7 @@
+HbListViewItem[layoutName="default"]{
+    layout:logs-portrait;
+}
+
 HbListViewItem[layoutName="logsLandscape"]{
     layout:logs-landscape;
 }
@@ -6,33 +10,22 @@
     layout:logs-landscape;
 }
 
-HbListViewItem::text-1[layoutName="logsLandscape"]{
-	fixed-width: 40.0un;
-	text-height: var(hb-param-text-height-primary);
+HbListViewItem::text-2[layoutName="default"]{
+    max-width:-1;
+    text-height: var(hb-param-text-height-secondary);
 }
 
-HbListViewItem::text-2[layoutName="logsLandscape"]{
-	
-	fixed-width: 40.0un;
-	text-height: var(hb-param-text-height-secondary);
+HbListViewItem::text-1[layoutName="logsLandscape"]{	
+    pref-width: expr(var(hb-param-screen-width)/2 - var(hb-param-graphic-size-primary-medium) - var(hb-param-margin-gene-left) - var(hb-param-margin-gene-middle-horizontal));
 }
 
-HbListViewItem::text-1[layoutName="logsLandscapeDialpad"]{
-	fixed-width: 38.0un;
-	text-height: var(hb-param-text-height-primary);
+HbListViewItem::text-2[layoutName="logsLandscape"]{	
+    max-width:-1;
+    text-height: var(hb-param-text-height-secondary);
 }
 
 HbListViewItem::text-2[layoutName="logsLandscapeDialpad"]{
-	fixed-width: 0.0un;
-	text-height: 0.0un;
+    max-width: 0.0un;
+    text-height: 0.0un;
 }
 
-HbListViewItem::text-1[layoutName="default"]{
-	fixed-width: 40.0un;
-	text-height: var(hb-param-text-height-primary);
-}
-
-HbListViewItem::text-2[layoutName="default"]{
-	fixed-width: 40.0un;
-	text-height: var(hb-param-text-height-secondary);
-}