From: <enl...@li...> - 2006-02-21 13:14:42
|
Enlightenment CVS committal Author : devilhorns Project : e_modules Module : net Dir : e_modules/net Modified Files: net.edc Log Message: Clip the text to not allow displaying outside the gadget. Have to propigate to rest of the modules =================================================================== RCS file: /cvsroot/enlightenment/e_modules/net/net.edc,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- net.edc 21 Feb 2006 12:47:58 -0000 1.10 +++ net.edc 21 Feb 2006 13:14:36 -0000 1.11 @@ -28,7 +28,17 @@ 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 @@ part { name: "out-text"; + clip_to: "base"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; @@ -71,7 +82,7 @@ text { text: ""; font: "VeraMono"; - size: 10; + size: 8; min: 1 1; align: 1.0 0.0; } @@ -81,6 +92,7 @@ part { name: "in-text"; + clip_to: "base"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; @@ -90,7 +102,7 @@ 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 @@ text { text: ""; font: "VeraMono"; - size: 10; + size: 8; min: 1 1; align: 1.0 0.0; } |