and limit sizes...

SVN revision: 12588
This commit is contained in:
Carsten Haitzler 2004-12-25 15:53:48 +00:00
parent 59f94e10a8
commit b834f56460
1 changed files with 4 additions and 0 deletions

View File

@ -454,8 +454,12 @@ _e_container_resize_handle(E_Container *con)
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);
}
}