content_gravity


Description:

[ Version ( since = "1.10" ) ]
public ContentGravity content_gravity { get; set; }

The alignment that should be honoured by the Content set with the content property.

Changing the value of this property will change the bounding box of the content; you can use the content_box property to get the position and size of the content within the actor's allocation.

This property is meaningful only for Content implementations that have a preferred size, and if the preferred size is smaller than the actor's allocation.

The content_gravity property is animatable.