[*] [Slider] This resolves slider event issue when it's disabled.
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Fri, 20 Apr 2012 06:25:14 +0000 (15:25 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Fri, 20 Apr 2012 06:25:14 +0000 (15:25 +0900)
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.

themes/widgets/slider.edc

index 22e3ceb..b97c712 100644 (file)
                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;
             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";
          }
       }
    }