rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=d14e1b09b305c42f6e1f72387468dcbbae00d9a8

commit d14e1b09b305c42f6e1f72387468dcbbae00d9a8
Author: Mykyta Biliavskyi <[email protected]>
Date:   Thu May 26 14:18:15 2016 +0300

    Tizen theme: fix button warnings.
---
 data/themes/tizen/widgets/button.edc | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/data/themes/tizen/widgets/button.edc 
b/data/themes/tizen/widgets/button.edc
index f84e350..00883e2 100644
--- a/data/themes/tizen/widgets/button.edc
+++ b/data/themes/tizen/widgets/button.edc
@@ -22,6 +22,9 @@ group { name: "elm/button/base/default";
                border: 3 3 3 3;
             }
          }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+         }
          description { state: "clicked" 0.0;
             inherit: "default" 0.0;
             image {
@@ -115,6 +118,9 @@ group { name: "elm/button/base/default";
          description { state: "default" 0.0;
             color: 0 0 0 0;
          }
+         description { state: "visible" 0.0;
+            inherit:  "default" 0.0;
+         }
          description { state: "disabled" 0.0;
             inherit:  "default" 0.0;
             visible: 0;
@@ -136,6 +142,9 @@ group { name: "elm/button/base/default";
             color: 0 0 0 0;
             visible: 0;
          }
+         description { state: "visible" 0.0;
+            inherit: "default" 0.0;
+         }
          description { state: "disabled" 0.0;
             inherit: "default" 0.0;
             visible: 1;
@@ -334,7 +343,10 @@ group { name: "elm/button/base/default";
          script {
             new st[31];
             new Float:vl;
-            get_state(PART:"elm.text", st, 30, vl);
+            set_state(PART:"button_image", "visible", 0.0);
+            set_state(PART:"over2", "visible", 0.0);
+            set_state(PART:"disabler", "visible", 0.0);
+             get_state(PART:"elm.text", st, 30, vl);
             if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
               set_state(PART:"elm.text", "visible", 0.0);
             else

-- 


Reply via email to