mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 04:33:52 +00:00
layout, docs: Add long description for FlowLayout
Add the full description of the layout policy
This commit is contained in:
parent
4d153e4507
commit
308c930f37
@ -30,6 +30,22 @@
|
|||||||
* policy:
|
* policy:
|
||||||
*
|
*
|
||||||
* <itemizedlist>
|
* <itemizedlist>
|
||||||
|
* <listitem><para>the preferred natural size depends on the value
|
||||||
|
* of the #ClutterFlowLayout:orientation property; the layout will try
|
||||||
|
* to maintain all its children on a single row or
|
||||||
|
* column;</para></listitem>
|
||||||
|
* <listitem><para>if either the width or the height allocated are
|
||||||
|
* smaller than the preferred ones, the layout will wrap; in this case,
|
||||||
|
* the preferred height or width, respectively, will take into account
|
||||||
|
* the amount of columns and rows;</para></listitem>
|
||||||
|
* <listitem><para>each line (either column or row) in reflowing will
|
||||||
|
* have the size of the biggest cell on that line; if the
|
||||||
|
* #ClutterFlowLayout:homogeneous property is set to %FALSE the actor
|
||||||
|
* will be allocated within that area, and if set to %TRUE instead the
|
||||||
|
* actor will be given exactly that area;</para></listitem>
|
||||||
|
* <listitem><para>the size of the columns or rows can be controlled
|
||||||
|
* for both minimum and maximum; the spacing can also be controlled
|
||||||
|
* in both columns and rows.</para></listitem>
|
||||||
* </itemizedlist>
|
* </itemizedlist>
|
||||||
*
|
*
|
||||||
* #ClutterFlowLayout is available since Clutter 1.2
|
* #ClutterFlowLayout is available since Clutter 1.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user