From: SungHyun Min Date: Wed, 5 Jul 2017 08:21:43 +0000 (+0900) Subject: Fix disabled button color issue X-Git-Tag: submit/trunk/20170823.075128~110^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4fddd9b3995f28d9e9e68609aa640348168cfa4;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix disabled button color issue TASK=TCAPI2379 Change-Id: I5e87f79f80796ffaf0094faaae69dd0c5a09b134 --- diff --git a/src/ElmSharp/ElmSharp/Button.cs b/src/ElmSharp/ElmSharp/Button.cs old mode 100755 new mode 100644 index e369054..3ed6aa8 --- a/src/ElmSharp/ElmSharp/Button.cs +++ b/src/ElmSharp/ElmSharp/Button.cs @@ -151,11 +151,13 @@ namespace ElmSharp { EdjeObject.DeleteColorClass("button/bg"); EdjeObject.DeleteColorClass("button/bg_pressed"); + EdjeObject.DeleteColorClass("button/bg_disabled"); } else { SetPartColor("bg", value); SetPartColor("bg_pressed", value); + SetPartColor("bg_disabled", value); } _backgroundColor = value; } @@ -172,4 +174,4 @@ namespace ElmSharp return handle; } } -} +} \ No newline at end of file