parent
29a9437bef
commit
803ff266ac
|
@ -25,7 +25,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
|
|||
evas_object_size_hint_max_get(opt->obj, &mnw, &mnh);
|
||||
if (mnh >= 0)
|
||||
{
|
||||
if (maxw == -1) maxh = mnh;
|
||||
if (maxh == -1) maxh = mnh;
|
||||
else if (maxh > mnh) maxh = mnh;
|
||||
}
|
||||
if (mnw >= 0)
|
||||
|
|
|
@ -374,7 +374,7 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
|
|||
edje_object_size_min_get(tt->tooltip, &eminw, &eminh);
|
||||
|
||||
if (eminw && (ominw < eminw)) ominw = eminw;
|
||||
if (eminw && (ominh < eminh)) ominh = eminh;
|
||||
if (eminh && (ominh < eminh)) ominh = eminh;
|
||||
|
||||
if (ominw < 1) ominw = 10; /* at least it is noticeable */
|
||||
if (ominh < 1) ominh = 10; /* at least it is noticeable */
|
||||
|
|
Loading…
Reference in New Issue