Terminology: move the media controls top-right (less used place) intead of bottom...
authordavemds <davemds@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 Jun 2012 20:07:55 +0000 (20:07 +0000)
committerdavemds <davemds@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 Jun 2012 20:07:55 +0000 (20:07 +0000)
NOTE: This spot an edje animation bug (I faced this other times before):
during the animation (mouse-in/out)  the right-alignment lost
1 pixel somewhere.

Can someone in touch with edje animation code give a look?
...the edc layout is really simple, the problematic part is:
"media_bg" at line 609 in default.edc

thanks
davemds

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72891 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/default.edc

index eba0cf8..ef8712f 100644 (file)
@@ -611,8 +611,9 @@ collections {
             description { state: "default" 0.0;
                image.normal: "media_bg.png";
                image.border: 11 11 11 11;
+               min: 24 24;
                max: 24 24;
-               align: 0.0 1.0;
+               align: 1.0 0.0;
             }
             description { state: "expanded" 0.0;
                inherit: "default" 0.0;
@@ -627,7 +628,7 @@ collections {
             description { state: "default" 0.0;
                image.normal: "media_pause.png";
                max: 24 24;
-               align: 0.0 1.0;
+               align: 1.0 0.0;
             }
             description { state: "paused" 0.0;
                inherit: "default" 0.0;
@@ -643,8 +644,8 @@ collections {
                max: 24 24;
                rel1.to: "play";
                rel2.to: "play";
-               rel1.offset: 16 0;
-               rel2.offset: 16 0;
+               rel1.offset: -16 0;
+               rel2.offset: -16 0;
             }
          }
          part { name: "posline";
@@ -658,8 +659,8 @@ collections {
                max: 90 14;
                rel1.to: "stop";
                rel2.to: "stop";
-               rel1.offset: 25 0;
-               rel2.offset: 90 0;
+               rel1.offset: -25 0;
+               rel2.offset: -90 0;
             }
          }
          part { name: "terminology.posdrag";
@@ -689,12 +690,15 @@ collections {
                image.border: 15 15 0 0;
                min: 60 14;
                max: 60 14;
-               rel1.to: "posline";
-               rel2.to: "posline";
-               rel1.relative: 1.0 0.0;
-               rel2.relative: 1.0 1.0;
-               rel1.offset: 25 0;
-               rel2.offset: 60 0;
+               rel1 {
+                  to: "posline";
+                  offset: -25 0;
+               }
+               rel2 {
+                  to: "posline";
+                  relative: 0.0 1.0;
+                  offset: -60 0;
+               }
             }
          }
          part { name: "terminology.voldrag"; type: IMAGE;