Table of Contents

Efl.Ui.Image.calc_size_min

Description

Calculates the minimum required size for a given layout object.

This call will trigger an internal recalculation of all parts of the object, in order to return its minimum required dimensions for width and height. The user might choose to impose those minimum sizes, making the resulting calculation to get to values greater or equal than restricted in both directions.

At the end of this call, the object won't be automatically resized to the new dimensions, but just return the calculated sizes. The caller is the one up to change its geometry or not.
Be advised that invisible parts in the object will be taken into account in this calculation.

Since 1.22

Overridden from Efl.Layout.Calc.calc_size_min.

Signature

calc_size_min @pure_virtual {
    params {
        @in restricted: Eina.Size2D @optional;
    }
    return: Eina.Size2D;
}

C signature

Eina_Size2D efl_layout_calc_size_min(Eo *obj, Eina_Size2D restricted);

Parameters

Implemented by