Sorry.
Who knows, this time...
On Wed, Aug 12, 2009 at 11:47 PM, Iván Briano (Sachiel)
<sachi...@gmail.com>wrote:
> On Wed, Aug 12, 2009 at 11:13 PM, Fabiano
> Fidêncio<fiden...@profusion.mobi> wrote:
> > The {horizontal,vertical}_flows box layouts bypassed the box padding when
> > set yours objects on the screen.
> > Moreover, checking for known how many objects would serve in the box was
> > always into account a padding (the box) more.
> >
> > Patch made from dir /trunk/evas/src/lib/canvas/
> >
> > []'s
> >
>
> No patch here, check your mime.types.
>
> > Fabiano Fidêncio
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> >
>
--- evas_object_box_original.c 2009-08-12 14:36:16.276487959 -0300
+++ evas_object_box.c 2009-08-12 19:02:03.934660577 -0300
@@ -1399,7 +1399,7 @@
child_h += padding_t + padding_b;
remain_w -= child_w;
- if (remain_w >= 0)
+ if (remain_w + priv->pad.h >= 0)
{ /* continue "line" */
if (child_h > max_h)
max_h = child_h;
@@ -1522,6 +1522,8 @@
inc_y = remain_y / row_count;
}
+ inc_y += priv->pad.v;
+
for (i = 0, r = 0, l = priv->children; r <= row_count; r++)
{
int row_justify = 0, just_inc = 0, sub_pixel = 0;
@@ -1539,6 +1541,8 @@
(remain_x, row_size, &row_justify, &just_inc);
}
+ row_justify += priv->pad.h;
+
for (; i <= row_break[r]; i++, l = l->next)
{
Evas_Object_Box_Option *opt = l->data;
@@ -1605,7 +1609,7 @@
child_h += padding_t + padding_b + priv->pad.v;
remain_h -= child_h;
- if (remain_h >= 0)
+ if (remain_h + priv->pad.v >= 0)
{ /* continue "col" */
if (child_w > max_w)
max_w = child_w;
@@ -1701,6 +1705,8 @@
inc_x = remain_x / col_count;
}
+ inc_x += priv->pad.h;
+
for (i = 0, c = 0, l = priv->children; c <= col_count; c++)
{
int col_justify = 0, just_inc = 0, sub_pixel = 0;
@@ -1718,6 +1724,8 @@
(remain_y, col_size, &col_justify, &just_inc);
}
+ col_justify += priv->pad.v;
+
for (; i <= col_break[c]; i++, l = l->next)
{
Evas_Object_Box_Option *opt = l->data;
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel