efl_ui/layout: use MAX macro for min size clamping in group calc

Summary: Depends on D9442

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl_widgets

Differential Revision: https://phab.enlightenment.org/D9447
This commit is contained in:
Mike Blumenkrantz 2019-07-30 13:12:14 -04:00
parent d17ec12faf
commit c594c83a02
1 changed files with 2 additions and 4 deletions

View File

@ -186,10 +186,8 @@ _sizing_eval(Evas_Object *obj, Efl_Ui_Layout_Data *sd, Elm_Layout_Data *ld)
minw = sz.w;
minh = sz.h;
if (minw > rest_w)
rest_w = minw;
if (minh > rest_h)
rest_h = minh;
rest_w = MAX(minw, rest_w);
rest_h = MAX(minh, rest_h);
if (ld)
{