nikawhite pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=ba4c2fd8d79742264b5e4b27e01d891c4b11231c
commit ba4c2fd8d79742264b5e4b27e01d891c4b11231c Author: Mykyta Biliavskyi <[email protected]> Date: Thu Jul 21 21:42:03 2016 +0300 Tizen theme: fix group view primitives templates. --- data/themes/tizen/images/Custom/border_1.png | Bin 0 -> 103 bytes data/themes/tizen/widgets/layout.edc | 56 +++++++++++++++------------ 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/data/themes/tizen/images/Custom/border_1.png b/data/themes/tizen/images/Custom/border_1.png new file mode 100644 index 0000000..bcca7e7 Binary files /dev/null and b/data/themes/tizen/images/Custom/border_1.png differ diff --git a/data/themes/tizen/widgets/layout.edc b/data/themes/tizen/widgets/layout.edc index 21e023e..161fdd8 100644 --- a/data/themes/tizen/widgets/layout.edc +++ b/data/themes/tizen/widgets/layout.edc @@ -1656,15 +1656,42 @@ group { name: "elm/layout/groupview/default"; image: "Custom/bg_box.png" COMP; image: "Custom/bg_part_item.png" COMP; image: "Custom/bg_object_area.png" COMP; + image: "Custom/border_1.png" COMP; + } + part { name: "border"; + type: IMAGE; + description { state: "default" 0.0; + color: 0 0 0 0; + image.normal: "Custom/border_1.png"; + image.middle: NONE; + image.border: 1 1 1 1; + } +#define BORDER(NAME, COLOR) \ + description { state: #NAME 0.0; \ + inherit: "default" 0.0; \ + color: COLOR; \ + } + BORDER(text, 122 122 122 255) + BORDER(proxy, 255 112 49 255) + BORDER(swallow, 120 103 140 255) + BORDER(spacer, 101 117 133 255) + BORDER(group, 255 109 109 255) + BORDER(table, 138 125 109 255) + BORDER(box, 124 129 102 255) + BORDER(part_item, 49 140 141 255) + BORDER(object_area, 49 140 141 255) +#undef BORDER } part { name: "bg"; type: IMAGE; description { state: "default" 0.0; visible: 0; - image { - normal: "Custom/bg_proxy.png"; - } + image.normal: "Custom/bg_proxy.png"; fill.type: TILE; + rel1.to: "border"; + rel2.to: "border"; + rel1.offset: 1 1; + rel2.offset: -2 -2; } description { state: "text" 0.0; inherit: "default" 0.0; @@ -1696,28 +1723,7 @@ group { name: "elm/layout/groupview/default"; image.normal: "Custom/bg_part_item.png"; } } - part { name: "border"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } -#define BORDER(NAME, COLOR) \ - description { state: #NAME 0.0; \ - inherit: "default" 0.0; \ - color: COLOR; \ - } - BORDER(text, 122 122 122 255) - BORDER(proxy, 255 112 49 255) - BORDER(swallow, 120 103 140 255) - BORDER(spacer, 101 117 133 255) - BORDER(group, 255 109 109 255) - BORDER(table, 138 125 109 255) - BORDER(box, 124 129 102 255) - BORDER(part_item, 49 140 141 255) - BORDER(object_area, 49 140 141 255) -#undef BORDER - } - part { name: "elm.swallow.content"; + part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; visible: 0; --
