collections {
// define the main interface
group {
name, "eim";
min, 128 256;
parts {
//define the background
part {
name, "background";
type, RECT;
mouse_events, 0;
// define the backgorund as transparency
description {
state, "default" 0.0;
color, 0 0 0 80;
}
}
// define the header
part {
name, "header";
type, RECT;
// define the background color of the header
description {
state, "default" 0.0;
color, 45 78 95 255;
rel1 {
relative, 0.0 0.0;
offset, 0 0;
}
rel2 {
relative, 1.0 0.0;
offset, 0 20;
}
}
}
} // parts
} // group
} // collections
> Hello, i'm a new user of edje ..
> I've a really basic question, i've already took a look inside the edje
> documentation but i'm unable to do this:
> I create a background and i want to create a header on the background
> with the width equal to the background width and with a header height
> equals to 20 pixels.
>
> For now, i've played with the relative attribute, but the header
> height takes 20% of the bakground.
>
>
> Jol
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel