2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Box_Flow extends Efl.Ui.Box
|
2016-04-12 02:16:20 -07:00
|
|
|
{
|
2019-09-10 02:34:50 -07:00
|
|
|
[[A Flow Box is a customized type of @Efl.Ui.Box. It will fill along the axis selected with
|
|
|
|
@Efl.Ui.Layout_Orientable.orientation (which defaults to Horizontal), until items will no
|
|
|
|
longer fit in the available space, at which point it will begin filling items in a new
|
|
|
|
row/column after the current one.
|
|
|
|
This is useful if an application wants to e.g., present a group of items and wrap them onto
|
|
|
|
subsequent lines when the number of items grows too large to fit on the screen.
|
|
|
|
Adding or removing items in the middle re-arrange the rest of the items as expected.
|
2019-09-10 02:25:55 -07:00
|
|
|
]]
|
2016-04-12 02:16:20 -07:00
|
|
|
implements {
|
2018-04-06 03:28:01 -07:00
|
|
|
Efl.Pack_Layout.layout_update;
|
2016-04-12 02:16:20 -07:00
|
|
|
}
|
|
|
|
}
|