rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=ed6e6d05bfdb7026e2824a3a6bd14a61f7d7f2d7
commit ed6e6d05bfdb7026e2824a3a6bd14a61f7d7f2d7 Author: Tetiana Naumenko <t.naume...@samsung.com> Date: Mon May 22 15:06:01 2017 +0300 theme: made layout for tab_home/import_edj scalable Change-Id: I80892fc719a16507c3312baf52488fdb7ff809ae --- data/themes/default/widgets/layouts/tabs.edc | 1012 ++++++++++++++++---------- 1 file changed, 611 insertions(+), 401 deletions(-) diff --git a/data/themes/default/widgets/layouts/tabs.edc b/data/themes/default/widgets/layouts/tabs.edc index 9c652ca86..23aac9dfd 100644 --- a/data/themes/default/widgets/layouts/tabs.edc +++ b/data/themes/default/widgets/layouts/tabs.edc @@ -927,408 +927,618 @@ group { name: "elm/layout/tab_home/new_project"; } } group { name: "elm/layout/tab_home/import_edj"; - images { - image: "separator-horizontal.png" COMP; - image: "separator-vertical.png" COMP; - } - parts { - part { name: "elm.swallow.btn_create"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1.relative: 1.0 1.0; - } - } - part { name: "separator_hor"; - type: IMAGE; - description { state: "default" 0.0; - align: 0.5 1.0; - min: 0 2; - max: -1 2; - image.normal: "separator-horizontal.png"; - rel2 { - relative: 1.0 0.0; - offset: -1 -7; - to: "elm.swallow.btn_create"; - } - } - } - part { name: "block_separator_deco"; - type: IMAGE; - description { state: "default" 0.0; - min: 2 0; - max: 2 -1; - image.normal: "separator-vertical.png"; - rel2 { - relative: 1.0 0.0; - offset: -1 -7; - to: "separator_hor"; - } - } - } - part { name: "area.project_info"; - type: SPACER; - description { state: "default" 0.0; - min: 225 0; - rel2 { - relative: 0.0 1.0; - offset: -7 -1; - to: "block_separator_deco"; - } - } - } - part { name: "area.widgets_info"; - type: SPACER; - description { state: "default" 0.0; - min: 300 0; - rel1 { - relative: 1.0 0.0; - offset: 6 0; - to_x: "block_separator_deco"; - } - rel2.to_y: "block_separator_deco"; - } - } - part { name: "swallow.all_widgets_check"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 20 20; - max: 20 20; - rel1 { - offset: 6 0; - to_x: "swallow.widgets"; - to_y: "area.widgets_info"; - } - rel2.to: "area.widgets_info"; - } - } - part { name: "label.widgets"; - type: TEXT; - description { state: "default" 0.0; - align: 0.0 0.5; - fixed: 1 0; - color_class: "main"; - text { - font: "PT"; - size: 12; - min: 1 0; - align: 0.0 0.5; - ellipsis: -1.0; - } - rel1 { - relative: 1.0 0.0; - offset: 6 0; - to: "swallow.all_widgets_check"; - } - rel2.to: "swallow.all_widgets_check"; - } - } - part { name: "swallow.widgets"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 6; - to_x: "area.widgets_info"; - to_y: "swallow.all_widgets_check"; - } - rel2.to: "area.widgets_info"; - } - } - part { name: "area.large_items"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 6; - to_y: "label.meta_version"; - } - rel2.to: "area.project_info"; - } - } - part { name: "label.name"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.5; - } - rel1 { - to_x: "area.project_info"; - to_y: "swallow.name"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.project_info"; - to_y: "swallow.name"; - } - } - } - part { name: "swallow.name"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - max: -1 19; - rel1 { - relative: 0.3 0.0; - to: "area.project_info"; - } - rel2.to_x: "area.project_info"; - } - } - part { name: "label.path"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.5; - } - rel1 { - to_x: "area.project_info"; - to_y: "swallow.path"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.project_info"; - to_y: "swallow.path"; - } - } - } - part { name: "swallow.path"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - max: -1 19; - rel1 { - relative: 0.3 1.0; - offset: 0 6; - to_x: "area.project_info"; - to_y: "swallow.name"; - } - rel2.to_x: "area.project_info"; - } - } - part { name: "label.meta_version"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.5; - } - rel1 { - to_x: "area.project_info"; - to_y: "swallow.meta_version"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.project_info"; - to_y: "swallow.meta_version"; - } - } - } - part { name: "swallow.meta_version"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - max: -1 19; - rel1 { - relative: 0.3 1.0; - offset: 0 6; - to_x: "area.project_info"; - to_y: "swallow.edj"; - } - rel2.to_x: "area.project_info"; - } - } - part { name: "label.meta_authors"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.0; - } - rel1 { - to_x: "area.large_items"; - to_y: "swallow.meta_authors"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.large_items"; - to_y: "swallow.meta_authors"; - } - } - } - part { name: "swallow.meta_authors"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.3 0.0; - to: "area.large_items"; - } - rel2 { - relative: 1.0 0.33; - to: "area.large_items"; - } - } - } - part { name: "label.meta_licenses"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.0; - } - rel1 { - to_x: "area.large_items"; - to_y: "swallow.meta_licenses"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.large_items"; - to_y: "swallow.meta_licenses"; - } - } - } - part { name: "swallow.meta_licenses"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.3 1.0; - offset: 0 6; - to_x: "area.large_items"; - to_y: "swallow.meta_authors"; - } - rel2 { - relative: 1.0 0.66; - to: "area.large_items"; - } - } - } - part { name: "label.meta_comment"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.0; - } - rel1 { - to_x: "area.large_items"; - to_y: "swallow.meta_comment"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.large_items"; - to_y: "swallow.meta_comment"; - } - } - } - part { name: "swallow.meta_comment"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.3 1.0; - offset: 0 6; - to_x: "area.large_items"; - to_y: "swallow.meta_licenses"; - } - rel2.to: "area.large_items"; - } - } - part { name: "label.edj"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - color_class: "main"; - text { - font: "PT"; - size: 12; - align: 0.0 0.5; - } - rel1 { - to_x: "area.project_info"; - to_y: "swallow.edj"; - } - rel2 { - relative: 0.3 1.0; - to_x: "area.project_info"; - to_y: "swallow.edj"; - } - } - } - part { name: "swallow.edj"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 1 1; - max: -1 19; - rel1 { - relative: 0.3 1.0; - offset: 0 6; - to_x: "area.project_info"; - to_y: "swallow.path"; - } - rel2.to_x: "area.project_info"; - } - } - part { name: "swallow.template_themes"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - offset: 6 0; - to: "label.widgets"; - } - rel2 { - to_x: "area.widgets_info"; - to_y: "label.widgets"; - } - } - } - } + images { + image: "separator-horizontal.png" COMP; + image: "separator-vertical.png" COMP; + } + parts { + part { name: "elm.swallow.btn_create"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1.relative: 1.0 1.0; + } + } + part { name: "bottom_separator_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.50 1.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel2 { + relative: 1.0 0.0; + to: "elm.swallow.btn_create"; + } + } + } + part { name: "separator_hor"; + type: IMAGE; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 2; + max: -1 2; + image.normal: "separator-horizontal.png"; + rel2 { + relative: 1.0 0.0; + to: "bottom_separator_space"; + } + } + } + part { name: "top_separator_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.50 1.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel2 { + relative: 1.0 0.0; + to: "separator_hor"; + } + } + } + part { name: "block_separator_deco"; + type: IMAGE; + description { state: "default" 0.0; + min: 2 0; + max: 2 -1; + image.normal: "separator-vertical.png"; + rel2 { + relative: 1.0 0.0; + to: "top_separator_space"; + } + } + } + part { name: "right_pinfo_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.00 0.00; + fixed: 1 0; + min: 7 0; + max: 7 -1; + rel2 { + relative: 0.0 1.0; + to: "block_separator_deco"; + } + } + } + part { name: "area.project_info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 225 0; + rel2 { + relative: 0.0 1.0; + to: "right_pinfo_space"; + } + } + } + part { name: "left_winfo_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 1 0; + min: 6 0; + max: 6 -1; + rel1 { + relative: 1.0 0.0; + to_x: "block_separator_deco"; + } + rel2 { + to_y: "block_separator_deco"; + } + } + } + part { name: "area.widgets_info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 300 0; + rel1 { + relative: 1.0 0.0; + to_x: "left_winfo_space"; + } + rel2.to_y: "left_winfo_space"; + } + } + part { name: "left_check_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 1 0; + min: 6 26; + max: 6 26; + rel1 { + to_x: "swallow.widgets"; + to_y: "area.widgets_info"; + } + rel2 { + to: "area.widgets_info"; + } + } + } + part { name: "swallow.all_widgets_check"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + min: 20 20; + max: 20 20; + rel1 { + relative: 1.0 0.0; + to: "left_check_space"; + } + rel2 { + to: "left_check_space"; + } + } + } + part { name: "right_check_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 1 0; + min: 6 20; + max: 6 20; + rel1 { + relative: 1.00 0.00; + to_x: "swallow.all_widgets_check"; + to_y: "area.widgets_info"; + } + rel2 { + to: "swallow.all_widgets_check"; + } + } + } + part { name: "label.widgets"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 0; + color_class: "main"; + text { + font: "PT"; + size: 12; + min: 1 0; + align: 0.0 0.5; + ellipsis: -1.0; + } + rel1 { + relative: 1.0 0.0; + to: "right_check_space"; + } + rel2.to: "right_check_space"; + } + } + part { name: "right_label_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 1 0; + min: 6 20; + max: 6 20; + rel1 { + relative: 1.00 0.00; + to_x: "label.widgets"; + to_y: "area.widgets_info"; + } + rel2 { + to: "label.widgets"; + } + } + } + part { name: "swallow.template_themes"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to: "right_label_space"; + } + rel2 { + to_x: "area.widgets_info"; + to_y: "right_label_space"; + } + } + } + part { name: "swallow.widgets"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "area.widgets_info"; + to_y: "left_check_space"; + } + rel2.to: "area.widgets_info"; + } + } + part { name: "top_large_items_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.meta_version"; + } + rel2 { + to: "area.project_info"; + } + } + } + part { name: "area.large_items"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "top_large_items_space"; + } + rel2.to: "area.project_info"; + } + } + part { name: "label.name"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + rel1 { + to_x: "area.project_info"; + to_y: "swallow.name"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "swallow.name"; + } + } + } + part { name: "swallow.name"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + max: -1 19; + rel1 { + relative: 0.3 0.0; + to: "area.project_info"; + } + rel2.to_x: "area.project_info"; + } + } + part { name: "top_path_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.name"; + } + rel2 { + to: "area.project_info"; + } + } + } + part { name: "label.path"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + rel1 { + relative: 0.00 1.00; + to: "top_path_space"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "swallow.path"; + } + } + } + part { name: "swallow.path"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + max: -1 19; + rel1 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "top_path_space"; + } + rel2.to_x: "area.project_info"; + } + } + part { name: "top_edj_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.path"; + } + rel2 { + to: "area.project_info"; + } + } + } + part { name: "label.edj"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + rel1 { + relative: 0.00 1.00; + to: "top_edj_space"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "swallow.edj"; + } + } + } + part { name: "swallow.edj"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + max: -1 19; + rel1 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "top_edj_space"; + } + rel2.to_x: "area.project_info"; + } + } + part { name: "top_meta_version_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.edj"; + } + rel2 { + to: "area.project_info"; + } + } + } + part { name: "label.meta_version"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.5; + } + rel1 { + relative: 0.00 1.00; + to: "top_meta_version_space"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "swallow.meta_version"; + } + } + } + part { name: "swallow.meta_version"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 1 1; + max: -1 19; + rel1 { + relative: 0.3 1.0; + to_x: "area.project_info"; + to_y: "top_meta_version_space"; + } + rel2.to_x: "area.project_info"; + } + } + part { name: "label.meta_authors"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.0; + } + rel1 { + to_x: "area.large_items"; + to_y: "swallow.meta_authors"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.large_items"; + to_y: "swallow.meta_authors"; + } + } + } + part { name: "swallow.meta_authors"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.3 0.0; + to: "area.large_items"; + } + rel2 { + relative: 1.0 0.33; + to: "area.large_items"; + } + } + } + part { name: "top_meta_licenses_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.meta_authors"; + } + rel2 { + to: "area.large_items"; + } + } + } + part { name: "label.meta_licenses"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.0; + } + rel1 { + relative: 0.0 1.0; + to: "top_meta_licenses_space"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.large_items"; + to_y: "swallow.meta_licenses"; + } + } + } + part { name: "swallow.meta_licenses"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.3 1.0; + to_x: "area.large_items"; + to_y: "top_meta_licenses_space"; + } + rel2 { + relative: 1.0 0.66; + to: "area.large_items"; + } + } + } + part { name: "top_meta_comment_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.00 0.00; + fixed: 0 1; + min: 0 6; + max: -1 6; + rel1 { + relative: 0.00 1.00; + to: "label.meta_licenses"; + } + rel2 { + to: "area.large_items"; + } + } + } + part { name: "label.meta_comment"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + color_class: "main"; + text { + font: "PT"; + size: 12; + align: 0.0 0.0; + } + rel1 { + relative: 0.0 1.00; + to: "top_meta_comment_space"; + } + rel2 { + relative: 0.3 1.0; + to_x: "area.large_items"; + to_y: "swallow.meta_comment"; + } + } + } + part { name: "swallow.meta_comment"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.3 1.0; + to_x: "area.large_items"; + to_y: "top_meta_comment_space"; + } + rel2.to: "area.large_items"; + } + } + } } - + group { name: "elm/layout/tab_home/import_edc"; images { image: "separator-vertical.png" COMP; --