forked from enlightenment/efl
add identical code for "elm/toolbar/item/item_horizontal" group to actively maintained themes for an item style where the text is on the right of the icon and swings to the middle of the item on selection.
this showcases new group inheritance from edje! ...it also throws a non-fixed part error SVN revision: 63655
This commit is contained in:
parent
15a8415fa8
commit
6f4ac98b6e
|
@ -566,6 +566,30 @@ group { name: "elm/toolbar/item/default";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "elm/toolbar/item/item_horizontal";
|
||||
inherit: "elm/toolbar/item/default";
|
||||
parts.part { name: "elm.swallow.icon";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 3 3;
|
||||
rel1.relative: 0 0;
|
||||
rel2.offset: -4 -4;
|
||||
rel2.relative: 1 1;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
parts.part { name: "elm.text";
|
||||
description { state: "default" 0.0;
|
||||
align: 1 0.5;
|
||||
min: 0 1;
|
||||
rel1.offset: 1 0;
|
||||
rel1.relative: 1 0.5;
|
||||
rel1.to_x: "elm.swallow.icon";
|
||||
text.align: 0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/toolbar/separator/default";
|
||||
images {
|
||||
image: "toolbar_separator_v.png" COMP;
|
||||
|
|
Loading…
Reference in New Issue