forked from enlightenment/terminology
Terminology: move the media controls top-right (less used place) intead of bottom-left
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 SVN revision: 72891
This commit is contained in:
parent
2425f68e16
commit
002ca0803b
|
@ -611,8 +611,9 @@ collections {
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "media_bg.png";
|
image.normal: "media_bg.png";
|
||||||
image.border: 11 11 11 11;
|
image.border: 11 11 11 11;
|
||||||
|
min: 24 24;
|
||||||
max: 24 24;
|
max: 24 24;
|
||||||
align: 0.0 1.0;
|
align: 1.0 0.0;
|
||||||
}
|
}
|
||||||
description { state: "expanded" 0.0;
|
description { state: "expanded" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
|
@ -627,7 +628,7 @@ collections {
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "media_pause.png";
|
image.normal: "media_pause.png";
|
||||||
max: 24 24;
|
max: 24 24;
|
||||||
align: 0.0 1.0;
|
align: 1.0 0.0;
|
||||||
}
|
}
|
||||||
description { state: "paused" 0.0;
|
description { state: "paused" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
|
@ -643,8 +644,8 @@ collections {
|
||||||
max: 24 24;
|
max: 24 24;
|
||||||
rel1.to: "play";
|
rel1.to: "play";
|
||||||
rel2.to: "play";
|
rel2.to: "play";
|
||||||
rel1.offset: 16 0;
|
rel1.offset: -16 0;
|
||||||
rel2.offset: 16 0;
|
rel2.offset: -16 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "posline";
|
part { name: "posline";
|
||||||
|
@ -658,8 +659,8 @@ collections {
|
||||||
max: 90 14;
|
max: 90 14;
|
||||||
rel1.to: "stop";
|
rel1.to: "stop";
|
||||||
rel2.to: "stop";
|
rel2.to: "stop";
|
||||||
rel1.offset: 25 0;
|
rel1.offset: -25 0;
|
||||||
rel2.offset: 90 0;
|
rel2.offset: -90 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "terminology.posdrag";
|
part { name: "terminology.posdrag";
|
||||||
|
@ -689,12 +690,15 @@ collections {
|
||||||
image.border: 15 15 0 0;
|
image.border: 15 15 0 0;
|
||||||
min: 60 14;
|
min: 60 14;
|
||||||
max: 60 14;
|
max: 60 14;
|
||||||
rel1.to: "posline";
|
rel1 {
|
||||||
rel2.to: "posline";
|
to: "posline";
|
||||||
rel1.relative: 1.0 0.0;
|
offset: -25 0;
|
||||||
rel2.relative: 1.0 1.0;
|
}
|
||||||
rel1.offset: 25 0;
|
rel2 {
|
||||||
rel2.offset: 60 0;
|
to: "posline";
|
||||||
|
relative: 0.0 1.0;
|
||||||
|
offset: -60 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "terminology.voldrag"; type: IMAGE;
|
part { name: "terminology.voldrag"; type: IMAGE;
|
||||||
|
|
Loading…
Reference in New Issue