diff -r 2a5d4ab426d3 -r d1c62c765e48 phoneplugins/dialerwidgetplugin/resource/dialerwidget.css --- a/phoneplugins/dialerwidgetplugin/resource/dialerwidget.css Fri Sep 03 13:33:36 2010 +0300 +++ b/phoneplugins/dialerwidgetplugin/resource/dialerwidget.css Fri Sep 17 17:09:12 2010 +0300 @@ -1,44 +1,41 @@ -DialerWidget { - layout: default + +DialerWidget[layoutName="normal"] { + layout: layout-1; + fixed-width: 12.0un; + fixed-height: 12.0un; +} + +DialerWidget[layoutName="missed_call"] { + layout: layout-2; + fixed-width: 12.75un; + fixed-height: 12.75un; } DialerWidget::background { - top: -6un; - right: 6un; - left: -6un; - preferred-width: 24un; - preferred-height: 24un; - zvalue: 0; + border-width: 0.0un; + zvalue: 0; } DialerWidget::badgeBackground { - left: -1.5un; - right: 1.5un; - top: -1.5un; - bottom: 1.5un; - preferred-width: 3.0un; - preferred-height: 3.0un; - zvalue: 1; + border-width: 0.0un; + fixed-width: 3.5un; + fixed-height: 3.5un; + zvalue: 1; +} + +DialerWidget::touchArea { + zvalue: 1000; } -DialerWidget::text { - left: -1.5un; - right: 1.5un; - top: -1.5un; - bottom: 1.5un; - fixed-width: 3.0un; - text-align: center center; - text-height: var(hb-param-text-height-tiny); - text-line-count-max: 1; - color: var(qtc_list_item_title_normal); - zvalue: 2; +DialerWidget::badgeText { + color: var(qtc_view_normal); + text-align: center; + text-height: 2.8un; + font-variant: primary; + zvalue: 2; } -DialerWidget::touch_area { - left: -6.0un; - top: -6.0un; - preferred-width: 12un; - preferred-height: 12un; - zvalue: 3; +DialerWidget::badgeText[badgeTextLenght="2"]{ + text-height: 2.0un; }