cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=186aeb42eb7e97c07a58a30aafbca5d05c4e2302
commit 186aeb42eb7e97c07a58a30aafbca5d05c4e2302 Author: divyesh purohit <div.puro...@samsung.com> Date: Tue Jan 26 13:00:22 2016 -0800 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.puro...@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 <ced...@osg.samsung.com> --- data/themes/edc/elm/button.edc | 9 ++++++++- data/themes/img/vertical_separated_bar_disabled.png | Bin 0 -> 492 bytes 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc index 9dd9f61..0dfb4d2 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 0000000..3db2fdd Binary files /dev/null and b/data/themes/img/vertical_separated_bar_disabled.png differ --