Clip the text to not allow displaying outside the gadget. Have to propigate to rest of the modules

SVN revision: 20685
This commit is contained in:
Christopher Michael 2006-02-21 13:14:36 +00:00
parent 94e9806b74
commit 51c851ba54
1 changed files with 15 additions and 3 deletions

18
net.edc
View File

@ -27,8 +27,18 @@ group
}
parts{
part {
name: "base";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "net";
clip_to: "base";
mouse_events: 0;
description {
state: "default" 0.0;
@ -52,6 +62,7 @@ group
part
{
name: "out-text";
clip_to: "base";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
@ -71,7 +82,7 @@ group
text {
text: "";
font: "VeraMono";
size: 10;
size: 8;
min: 1 1;
align: 1.0 0.0;
}
@ -81,6 +92,7 @@ group
part
{
name: "in-text";
clip_to: "base";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
@ -90,7 +102,7 @@ group
rel1 {
relative: 1.0 1.0;
to_x: "net";
offset: -2 -10;
offset: -2 -12;
}
rel2 {
relative: 1.0 1.0;
@ -100,7 +112,7 @@ group
text {
text: "";
font: "VeraMono";
size: 10;
size: 8;
min: 1 1;
align: 1.0 0.0;
}