button: fix hoversel and button fixed: 1 1 warning in the same way.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 12 Aug 2014 18:11:00 +0000 (03:11 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 12 Aug 2014 18:13:18 +0000 (03:13 +0900)
Now both hoversel and button are usable.
This is easiest way to fix the bug. But why it didn't work well even
hoversel inherit button default style?

Revert "button: revert this patch because this patch just broke hoversel."

This reverts commit 3238c8787511aaf69b755760b24f1aa518477d75.

data/themes/edc/elm/button.edc

index 199a49e20b7f0fc50cafc187f67b52a05db17565..097ce857d49a0fa4070597b064d8cdf59040fb86 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";
@@ -828,6 +833,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
             text.text_class: "hoversel";
             text.ellipsis: -1;
             color3: 255 255 255 255;
+            fixed: 1 1;
          }
          desc { "visible";
             inherit: "default";
@@ -835,12 +841,14 @@ group { name: "elm/button/base/hoversel_vertical/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";
@@ -849,6 +857,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
          desc { "disabled_textonly";
             inherit: "default";
@@ -856,6 +865,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
             text.min: 1 1;
             text.ellipsis: -1;
             visible: 1;
+            fixed: 0 0;
          }
       }
       image { "select_line"; nomouse;