Genlist: better text style for the default_style selected style

When the genlist item is selected it change the text effect from
shadow to glow, this has 2 side effects:
1. the text gets an unwanted 2px offset (because glow require more space, I think)
2. the text color the user has set usually looks ugly with the glow color

This commit change the style to always use a normal shadow, whenever the item
is selected or not. Only apply to the default_style item style.
This commit is contained in:
Davide Andreoli 2014-12-26 15:19:56 +01:00
parent fc1579020c
commit 8fdd65704b
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ group { "elm/genlist/item/default_style/default"; nomouse;
tag: "tab" "\t";
}
styles.style { "genlist_style_selected";
base: "font="FN" font_size=10 align=left valign=0.5 color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected";
base: "font="FN" font_size=10 align=left valign=0.5 color=#3399ffff style=shadow,bottom shadow_color=#00000080 text_class=list_item_selected";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";