Table of Contents

Efl.Gfx.Hint.hint_size_max

Description

Hints on the object's maximum size.

This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.

The object container is in charge of fetching this property and placing the object accordingly.

Values -1 will be treated as unset hint components, when queried by managers.

Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
It is an error for the Efl.Gfx.Hint.hint_size_max to be smaller in either axis than Efl.Gfx.Hint.hint_size_min. In this scenario, the max size hint will be prioritized over the user min size hint.

Since 1.22

Values

Signature

@property hint_size_max @pure_virtual {
    get {}
    set {}
    values {
        sz: Eina.Size2D;
    }
}

C signature

Eina_Size2D efl_gfx_hint_size_max_get(const Eo *obj);
void efl_gfx_hint_size_max_set(Eo *obj, Eina_Size2D sz);

Implemented by