mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
docs: Add fixed size and constraints to the size negotiation docs
This commit is contained in:
parent
e1327f5591
commit
5cc5e566e6
@ -83,3 +83,16 @@ graph. The same will happen for (f).
|
||||
The child (g) has the same size, but its needs_* flags will have been cleared,
|
||||
so its allocate() implementation will be invoked; this will cause the (h) and
|
||||
(i) children to be allocated as well.
|
||||
|
||||
Fixed preferred size
|
||||
--------------------
|
||||
|
||||
If an actor has a fixed size then that size will take precedence over the cached
|
||||
size and the actor's implementation of the get_preferred_* virtual functions.
|
||||
|
||||
Constraints
|
||||
-----------
|
||||
|
||||
Constraints only affect the allocation phase; each constraint is allowed to
|
||||
modify the allocation passed to clutter_actor_allocate(), before it will be
|
||||
checked and eventually discarded.
|
||||
|
Loading…
Reference in New Issue
Block a user