diff options
author | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2015-09-30 14:10:16 +0900 |
---|---|---|
committer | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2015-09-30 14:55:28 +0900 |
commit | 3315484ebd8ec2fefc2f390a9f7cf378ceece98f (patch) | |
tree | d863ddcf4bf7cb07887d3bce0f97684e453fc1e8 /mobile/widgets_default | |
parent | f7a77922fbf1b1a884c8eac5770555bc727d6eaa (diff) | |
download | efl-theme-tizen-mobile-3315484ebd8ec2fefc2f390a9f7cf378ceece98f.tar.gz efl-theme-tizen-mobile-3315484ebd8ec2fefc2f390a9f7cf378ceece98f.tar.bz2 efl-theme-tizen-mobile-3315484ebd8ec2fefc2f390a9f7cf378ceece98f.zip |
panes: Fix the usage of dragable part.
dragable part should be used as dragable events part to fit the size of
dragable area to the size of widget.
Change-Id: I0eebf7e6c8df04b9b169acbffef8070b14e09d34
Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Diffstat (limited to 'mobile/widgets_default')
-rw-r--r-- | mobile/widgets_default/panes.edc | 61 |
1 files changed, 34 insertions, 27 deletions
diff --git a/mobile/widgets_default/panes.edc b/mobile/widgets_default/panes.edc index cc6cd55d..08763448 100644 --- a/mobile/widgets_default/panes.edc +++ b/mobile/widgets_default/panes.edc @@ -139,7 +139,7 @@ } //BAR part { name: "elm.bar"; - type: RECT; + type: SPACER; dragable { confine: "whole"; x: 1 1 1; @@ -147,20 +147,22 @@ } scale: 1; description { state: "default" 0.0; - min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999; - fixed: 0 1; + min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; + max: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 999999; + fixed: 1 1; align: 1.0 0.5; rel1.relative: 0.0 0.5; rel2.relative: 1.0 0.5; - color: 0 0 0 0; } description { state: "default" 0.1; inherit: "default" 0.0; - min: 0 999999; + min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; + max: 0 999999; } description { state: "disabled" 0.0; inherit: "default" 0.0; - min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999; + min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC; + max: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 999999; } description { state: "disabled" 0.1; inherit: "default" 0.1; @@ -210,7 +212,7 @@ } part { name: "bar_bg"; type: IMAGE; - mouse_events: 0; + dragable.events: "elm.bar"; description { state: "default" 0.0; rel1 { relative: 1.0 0.0; @@ -256,8 +258,9 @@ repeat_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; + rel1.to_x: "bar_bg"; + rel2.to_x: "bar_bg"; + color: 0 0 0 0; } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -269,8 +272,9 @@ mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; + rel1.to_x: "bar_bg"; + rel2.to_x: "bar_bg"; + color: 0 0 0 0; } description { state: "clicked" 0.0; inherit: "default" 0.0; @@ -279,8 +283,8 @@ part { name:"bar_disabled"; type: RECT; description { state:"default" 0.0; - rel1.to_x: "elm.bar"; - rel2.to_x: "elm.bar"; + rel1.to_x: "bar_bg"; + rel2.to_x: "bar_bg"; color: 0 0 0 0; visible: 0; } @@ -520,7 +524,7 @@ } //BAR part { name: "elm.bar"; - type: RECT; + type: SPACER; dragable { confine: "whole"; x: 0 0 0; @@ -528,21 +532,22 @@ } scale: 1; description { state: "default" 0.0; - min: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; - fixed: 1 0; + min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; + max: 999999 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC; + fixed: 1 1; align: 0.5 0.0; rel1.relative: 0.5 0.0; rel2.relative: 0.5 1.0; - color: 0 0 0 0; } description { state: "default" 0.1; inherit: "default" 0.0; - min: 999999 0; + min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0; + max: 999999 0; } description { state: "disabled" 0.0; inherit: "default" 0.0; - min: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC; - visible: 0; + min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_FIXED_SIZE_INC; + max: 999999 PANES_STYLE_DEFAULT_FIXED_SIZE_INC; } description { state: "disabled" 0.1; inherit: "default" 0.1; @@ -592,7 +597,7 @@ } part { name: "bar_bg"; type: IMAGE; - mouse_events: 0; + dragable.events: "elm.bar"; description { state: "default" 0.0; rel1 { relative: 0.0 1.0; @@ -638,8 +643,9 @@ repeat_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; + rel1.to_y: "bar_bg"; + rel2.to_y: "bar_bg"; + color: 0 0 0 0; } description { state: "disabled" 0.0; inherit: "default" 0.0; @@ -651,8 +657,9 @@ mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; + rel1.to_y: "bar_bg"; + rel2.to_y: "bar_bg"; + color: 0 0 0 0; } description { state: "clicked" 0.0; inherit: "default" 0.0; @@ -661,8 +668,8 @@ part { name:"bar_disabled"; type: RECT; description { state:"default" 0.0; - rel1.to_y: "elm.bar"; - rel2.to_y: "elm.bar"; + rel1.to_y: "bar_bg"; + rel2.to_y: "bar_bg"; color: 0 0 0 0; visible: 0; } |