button: add fixed 1 1 in case that text is not used.
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 11 Aug 2014 12:51:25 +0000 (21:51 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 11 Aug 2014 12:52:46 +0000 (21:52 +0900)
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

index 199a49e20b7f0fc50cafc187f67b52a05db17565..e55dac9a89fce402ed2220b56b66798293d00d5f 100644 (file)
@@ -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";