Page MenuHomePhabricator

efl.ui.box_flow
Closed, ResolvedPublic

Description

class Efl.Ui.Box_Flow @beta

Related Objects

StatusAssignedTask
ResolvedNone
ResolvedNone
YOhoho created this task.Sep 5 2019, 4:56 AM
YOhoho triaged this task as TODO priority.

There is no declared members. it can be stable.

zmike added a comment.Sep 5 2019, 6:13 AM

I agree; after doing some work here recently it seems fine.

zmike moved this task from Backlog to Stabilized on the efl: api board.Sep 5 2019, 6:14 AM

I do not understand what is does, the docs are not telling that.

It's already in the list of things that need better docs (T7717).

YOhoho added a comment.Sep 9 2019, 4:00 AM

Children will be positioned the next line if there is not enough space in the current line.

@YOhoho Just to make sure: Every item that gets packed into Efl.Ui.Box_Flow is positioned to the right of the previous item. Until there is no more room, and then it moves to the next line. Correct?
Does it support other orientations? like right-to-left or top-to-bottom?
If items are removed or added in the middle, do all the other items re-arrange?

YOhoho added a comment.Sep 9 2019, 9:04 PM

@YOhoho Just to make sure: Every item that gets packed into Efl.Ui.Box_Flow is positioned to the right of the previous item. Until there is no more room, and then it moves to the next line. Correct?

Correct. when extra space is less than item min size, it move to next line.

Does it support other orientations? like right-to-left or top-to-bottom?

Yes.

If items are removed or added in the middle, do all the other items re-arrange?

Yes. efl_pack_layout_update will be called.

OK, docs updated. I think this is stable.