From: chuneon.park Date: Wed, 9 Mar 2011 04:48:15 +0000 (+0900) Subject: added a new style for dialogueitem - text_with_button_with_event_rect X-Git-Tag: 2.0_alpha~936 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=861b1a26e4443e1e497af7bae8eb0a54ff595b40;p=framework%2Fuifw%2Fefl-theme-tizen.git added a new style for dialogueitem - text_with_button_with_event_rect Change-Id: I076e234f72d29f6cb3ceec40c0daa9e2ea27fa24 --- diff --git a/themes/groups/dialoguegroup.edc b/themes/groups/dialoguegroup.edc index 02c48d4..9d10f8e 100644 --- a/themes/groups/dialoguegroup.edc +++ b/themes/groups/dialoguegroup.edc @@ -1714,6 +1714,124 @@ group { name: "elm/dialogueitem/base/text_with_button"; } } +group { name: "elm/dialogueitem/base/text_with_button_with_event_rect"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 80; + color: 0 0 0 0; + } + } + part { name: "left_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 15 0; + max: 15 9999; + fixed: 1 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel1.relative : 0.0 0.0; + rel2.relative : 0.0 1.0; + } + } + part { name: "right_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 15 0; + max: 15 9999; + fixed: 1 1; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { name: "right_padding_e"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 5 0; + max: 5 9999; + fixed: 1 1; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative : 1.0 0.0; + rel2.relative : 1.0 1.0; + } + } + part { name: "text"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1.relative: 1.0 0.5; + rel1.to_x: "left_padding"; + rel2.relative: 0.0 0.5; + rel2.to_x: "content"; + color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: 32; + min: 0 0; + align: 0.0 0.5; + } + } + } + part { name: "content"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1.relative: 0.0 0.5; + rel1.to_x: "right_padding"; + rel2.relative: 0.0 0.5; + rel2.to_x: "right_padding"; + } + } + part { name: "content_extended"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1.relative: 0.0 0.5; + rel1.to_x: "right_padding_e"; + rel2.relative: 0.0 0.5; + rel2.to_x: "right_padding_e"; + } + } + part { name: "event_rect"; + type: "RECT"; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "clicked"; + source: "event_rect"; + signal: "mouse,clicked,1"; + action: SIGNAL_EMIT "clicked" "*"; + } + } +} + group { name: "elm/dialogueitem/base/text_with_button_2_wrap"; styles{ style { name: "dialogue_text_style";