ChafaTuck

Type Alias ChafaTuck 

Source
pub type ChafaTuck = c_uint;
Expand description

ChafaTuck: @CHAFA_TUCK_STRETCH: Resize element to fit the area exactly, changing its aspect ratio. @CHAFA_TUCK_FIT: Resize element to fit the area, preserving its aspect ratio by adding padding. @CHAFA_TUCK_SHRINK_TO_FIT: Like @CHAFA_TUCK_FIT, but prohibit enlargement. @CHAFA_TUCK_MAX: Last supported tucking policy, plus one.

Resizing options when placing an element within an area. Usually used in conjunction with #ChafaAlign to control the padding.

Since: 1.14