Page MenuHomePhabricator

Box align : does not align if children set max hint
Open, NormalPublic


Take the "box align" test and add (for example)

evas_object_size_hint_max_set(bt, -1, 25);

to both buttons in the vertical box.
Execute the test and move the vertical slider. You will see that the buttons don't move.

It looks like the box might be checking for the max hint?


Differential Revisions
D7409: gfx: Add size hint fill (EO)

Related Objects

indefini added a project: efl.
eagleeye added a subscriber: eagleeye.EditedAug 18 2016, 1:45 AM

If box's children have max size, box has max size, too. (box max size = sum of children max size.)
Its code exist at els_box.c
But I don't know exactly whether it is box policy or not.

stefan_schmidt triaged this task as Normal priority.Feb 10 2017, 6:34 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:54 AM
q66 edited projects, added efl: widgets; removed Restricted Project.Jun 11 2018, 7:31 AM
zmike added a subscriber: zmike.

This seems related to D7409