hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=efd33ddb5ba51dccaee2734e8a7add18801d9285

commit efd33ddb5ba51dccaee2734e8a7add18801d9285
Author: ChunEon Park <[email protected]>
Date:   Mon Aug 11 21:51:25 2014 +0900

    button: add fixed 1 1 in case that text is not used.
    
    If only icon is used in a button, it prints error message regarding fixed 1 
1;
    
    This resolved the problem.
---
 data/themes/edc/elm/button.edc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc
index 199a49e..e55dac9 100644
--- a/data/themes/edc/elm/button.edc
+++ b/data/themes/edc/elm/button.edc
@@ -171,6 +171,7 @@ group { name: "elm/button/base/default";
                text_class: "button";
             }
             visible: 0;
+            fixed: 1 1;
          }
          desc { "visible";
             inherit: "default";
@@ -178,12 +179,14 @@ group { name: "elm/button/base/default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
          desc { "textonly";
             inherit: "default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
          desc { "disabled_visible";
             inherit: "default";
@@ -193,6 +196,7 @@ group { name: "elm/button/base/default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
          desc { "disabled_textonly";
             inherit: "default";
@@ -201,6 +205,7 @@ group { name: "elm/button/base/default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
       }
       rect { "event";

-- 


Reply via email to