Hello all,
I am not sure if this is intended. However, it used to work.
Case : A part with multiple states (sizes)
State #1 : default
State #2 : inherit State #1, with different size (different rel1, rel2)
--> State #2 seems to fail to change the rel1 and rel2 properties.
Please see the attached edc file for the demonstration of the problem.
Thanks in advance.
brian
--
brian
------------------
Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/
iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
collections {
group {
name: "buggy";
min: 320 200;
max: 320 200;
parts
{
part { name: "song_title";
type: RECT;
description { state: "default" 0.0;
fixed: 1 1;
visible: 1;
color: 255 0 0 255;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 0.0;
offset: 0 20;
}
}
}
part { name: "song_info_box";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
visible: 1;
color: 255 255 255 255;
rel1 {
to: "song_title";
relative: 0.5 1.0;
offset: -5 0;
}
rel2 {
to: "song_title";
relative: 0.5 1.0;
offset: 5 10;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "visible,1" 0.0;
inherit: "default" 0.0;
rel1 {
to: "song_title";
relative: 0.5 1.0;
offset: -5 0;
}
rel2 {
to_x: "song_title";
relative: 0.5 1.0;
offset: 5 -10;
}
}
}
}
programs {
program { name: "buggy";
signal: "mouse,down,1";
source: "song_info_box";
action: STATE_SET "visible,1" 0.0;
transition: SINUSOIDAL 0.3;
target: "song_info_box";
}
}
}
}
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel