summaryrefslogtreecommitdiff
path: root/themes/widgets/button.edc
diff options
context:
space:
mode:
Diffstat (limited to 'themes/widgets/button.edc')
-rw-r--r--themes/widgets/button.edc19
1 files changed, 17 insertions, 2 deletions
diff --git a/themes/widgets/button.edc b/themes/widgets/button.edc
index 38aca238..8ec3be47 100644
--- a/themes/widgets/button.edc
+++ b/themes/widgets/button.edc
@@ -10234,7 +10234,7 @@ group { name: "elm/button/base/searchbar/default";
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
- clip_to: "clipper";
+ clip_to: "icon_disabler";
description { state: "default" 0.0;
visible: 0;
align: 0.0 0.5;
@@ -10338,6 +10338,20 @@ group { name: "elm/button/base/searchbar/default";
color: 255 255 255 255;
}
}
+ part { name: "icon_disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 127 127 127 127;
+ }
+ }
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
@@ -10346,7 +10360,6 @@ group { name: "elm/button/base/searchbar/default";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- color: 127 127 127 127;
visible: 1;
}
}
@@ -10471,6 +10484,7 @@ group { name: "elm/button/base/searchbar/default";
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "disable_text";
}
program { name: "disable_text";
@@ -10491,6 +10505,7 @@ group { name: "elm/button/base/searchbar/default";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "enable_text";
}
program { name: "enable_text";