From: Daniel Juyung Seo Date: Fri, 20 Apr 2012 06:25:14 +0000 (+0900) Subject: [*] [Slider] This resolves slider event issue when it's disabled. X-Git-Tag: 2.0_alpha~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98a2473a847a56c646d7b7d95505dca3bb808a17;p=framework%2Fuifw%2Fefl-theme-tizen.git [*] [Slider] This resolves slider event issue when it's disabled. This fixes https://tizendev.org/bugs/browse/N_SE-709. This issue was caused because slider's indicator event area is bigger than slider's disabler(event blocker for disabled state). I fixed this issue by disabling indicator's event area. Thanks. --- diff --git a/themes/widgets/slider.edc b/themes/widgets/slider.edc index 22e3ceb..b97c712 100644 --- a/themes/widgets/slider.edc +++ b/themes/widgets/slider.edc @@ -466,6 +466,10 @@ aspect_preference: VERTICAL; color: 0 0 0 0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "button0"; mouse_events: 0; @@ -537,12 +541,14 @@ source: "elm"; action: STATE_SET "disabled" 0.0; target: "button0"; + target: "button_events"; } program { name: "slider_enable"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.0; target: "button0"; + target: "button_events"; } } }