Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_container.c
Log Message:
and limit sizes...
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_container.c 25 Dec 2004 15:33:48 -0000 1.7
+++ e_container.c 25 Dec 2004 15:53:48 -0000 1.8
@@ -454,8 +454,12 @@
E_Border *b;
b = l->data;
+
if ((b->x + b->w) > con->w) e_border_move(b, con->w - b->w, b->y);
+ if (b->w > con->w) e_border_resize(b, con->w, b->h);
+
if ((b->y + b->h) > con->h) e_border_move(b, b->x, con->h - b->h);
+ if (b->h > con->h) e_border_resize(b, b->w, con->h);
}
}
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs