summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authordivyesh purohit <div.purohit@samsung.com>2016-01-26 13:00:22 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-26 13:04:55 -0800
commit186aeb42eb7e97c07a58a30aafbca5d05c4e2302 (patch)
tree54a1dbc729a93cb7a489d891b259ca87366bc9a9 /data
parent8bd8aa8f6764fe4552fd38db0e599d94f108dcad (diff)
downloadelementary-186aeb42eb7e97c07a58a30aafbca5d05c4e2302.tar.gz
combobox: fix disabled state
Summary: Apply gray-scale to vertical_separated_bar_glow image and increase the opacity of the button, so that the text on the entry is visible. @fix T3075 Signed-off-by: divyesh purohit <div.purohit@samsung.com> Test Plan: please run combobox example from elementary_test Reviewers: shilpasingh, cedric, raster Maniphest Tasks: T3075 Differential Revision: https://phab.enlightenment.org/D3605 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/elm/button.edc9
-rw-r--r--data/themes/img/vertical_separated_bar_disabled.pngbin0 -> 492 bytes
2 files changed, 8 insertions, 1 deletions
diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc
index 9dd9f6186..0dfb4d2cf 100644
--- a/data/themes/edc/elm/button.edc
+++ b/data/themes/edc/elm/button.edc
@@ -1720,6 +1720,7 @@ group { name: "elm/button/base/combobox_vertical/default";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "vertical_separated_bar_glow.png" COMP;
+ images.image: "vertical_separated_bar_disabled.png" COMP;
parts {
image { "base"; nomouse;
desc { "default";
@@ -1741,7 +1742,7 @@ group { name: "elm/button/base/combobox_vertical/default";
}
desc { "disabled";
inherit: "default";
- color: 255 255 255 64;
+ color: 255 255 255 180;
}
}
rect { "event";
@@ -1785,6 +1786,10 @@ group { name: "elm/button/base/combobox_vertical/default";
rel1.offset: 0 -2;
rel2.offset: 0 -1;
}
+ desc { "disabled";
+ inherit: "default";
+ image.normal: "vertical_separated_bar_disabled.png";
+ }
}
}
programs {
@@ -1830,12 +1835,14 @@ group { name: "elm/button/base/combobox_vertical/default";
action: STATE_SET "disabled" 0.0;
target: "icon_clip";
target: "event";
+ target: "select_line";
}
program { name: "button_state_enabled";
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "icon_clip";
target: "event";
+ target: "select_line";
}
}
}
diff --git a/data/themes/img/vertical_separated_bar_disabled.png b/data/themes/img/vertical_separated_bar_disabled.png
new file mode 100644
index 000000000..3db2fdd48
--- /dev/null
+++ b/data/themes/img/vertical_separated_bar_disabled.png
Binary files differ