ContentFit
Description:
[ CCode ( cprefix = "GTK_CONTENT_FIT_" , type_id = "gtk_content_fit_get_type ()" ) ]
[ Version ( since = "4.8" ) ]
public enum ContentFit
Controls how a content should be made to fit inside an allocation.
Content:
Enum values:
- CONTAIN - Scale the content to fit the
allocation, while taking its aspect ratio in consideration.
- COVER - Cover the entire allocation, while
taking the content aspect ratio in consideration.
- FILL - Make the content fill the entire
allocation, without taking its aspect ratio in consideration.
- SCALE_DOWN - The content is scaled down
to fit the allocation, if needed, otherwise its original size is used.