--- a/radioapp/radiowidgets/res/layout/radiocarouselitem.css Tue Jul 06 14:16:27 2010 +0300
+++ b/radioapp/radiowidgets/res/layout/radiocarouselitem.css Wed Aug 18 09:49:03 2010 +0300
@@ -13,6 +13,18 @@
size-policy-vertical: fixed;
}
+RadioCarouselItem[landscape]::star_button
+{
+ pref-width: expr(var(hb-param-graphic-size-primary-medium)*0.9);
+ pref-height: expr(var(hb-param-graphic-size-primary-medium)*0.9);
+}
+
+RadioCarouselItem[!landscape]::star_button
+{
+ pref-width: var(hb-param-graphic-size-primary-medium);
+ pref-height: var(hb-param-graphic-size-primary-medium);
+}
+
RadioCarouselItem::genre_label
{
top: -var(hb-param-margin-gene-top);
@@ -26,9 +38,18 @@
RadioCarouselItem::genre_label::text
{
color: lightgray; /*var(qtc_lcd_title_normal);*/
+ font-variant: secondary;
+ text-align: center center;
+}
+
+RadioCarouselItem[landscape]::genre_label::text
+{
+ text-height: expr(var(hb-param-text-height-secondary)*0.95);
+}
+
+RadioCarouselItem[!landscape]::genre_label::text
+{
text-height: var(hb-param-text-height-secondary);
- font-variant: secondary;
- text-align: center bottom;
}
RadioCarouselItem::name_label
@@ -59,7 +80,12 @@
text-align: center top;
}
-RadioCarouselItem[appearance=Full]::name_label::text
+RadioCarouselItem[appearance=Full][landscape]::name_label::text
+{
+ text-height: 7.6un;
+}
+
+RadioCarouselItem[appearance=Full][!landscape]::name_label::text
{
text-height: 8un;
}
@@ -89,8 +115,17 @@
{
text-line-count-max: 4;
text-wrap-mode: word-wrap; /*wrap-anywhere; */
+ text-align: center center;
+}
+
+RadioCarouselItem[appearance=Full][landscape]::rt_label::text
+{
+ text-height: expr(var(hb-param-text-height-secondary)*0.95);
+}
+
+RadioCarouselItem[appearance=Full][!landscape]::rt_label::text
+{
text-height: var(hb-param-text-height-secondary);
- text-align: center center;
}
RadioCarouselItem[appearance!=Full]::rt_label::text
@@ -110,12 +145,21 @@
RadioCarouselItem::url_label::text
{
- text-height: var(hb-param-text-height-secondary);
font-variant: secondary;
text-align: center center;
color:var(qtc_lcd_link_normal);
}
+RadioCarouselItem[landscape]::url_label::text
+{
+ text-height: expr(var(hb-param-text-height-secondary)*0.95);
+}
+
+RadioCarouselItem[!landscape]::url_label::text
+{
+ text-height: var(hb-param-text-height-secondary);
+}
+
RadioCarouselItem::favorite_touch_area
{
top: 0un;