rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=c4ca502ea83f0f664c60dc53645d4ea571853caf
commit c4ca502ea83f0f664c60dc53645d4ea571853caf Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Mon Jul 27 09:29:29 2015 +0300 Styles: add property layout for 1 swallow and subtext Change-Id: Ie7d94145c5cb863eeb4a06213b81d73c066b3503 --- data/themes/default/widgets/layouts/property.edc | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/data/themes/default/widgets/layouts/property.edc b/data/themes/default/widgets/layouts/property.edc index 8b30e88..00d7512 100644 --- a/data/themes/default/widgets/layouts/property.edc +++ b/data/themes/default/widgets/layouts/property.edc @@ -47,6 +47,76 @@ group { name: "elm/layout/property/1swallow"; } } +group { name: "elm/layout/property/1swallow_subtext"; + parts { + part { name: "area.base"; + type: SPACER; + description { state: "default" 0.0; + min: 0 19; + max: -1 19; + rel1 { + offset: 0 6; + } + rel2 { + offset: -1 -7; + } + } + } + part { name: "elm.text"; + type: TEXT; + description { state: "default" 0.0; + color_class: "main"; + rel1 { + to_y: "area.base"; + } + rel2 { + relative: 0.4 1.0; + to_y: "area.base"; + } + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.4 0.0; + offset: 3 0; + to_y: "area.base"; + } + rel2 { + relative: 0.4 1.0; + to_y: "area.base"; + } + } + } + part { name: "elm.subtext"; + type: TEXT; + description { state: "default" 0.0; + color_class: "main"; + rel1 { + relative: 0.06 0.0; + to_x: "elm.swallow.content"; + to_y: "area.base"; + } + rel2 { + to_y: "area.base"; + } + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + } + } + } +} + group { name: "elm/layout/property/2swallow"; parts { part { name: "padding.top"; --