ui.fill.remove_all_fill

ui.fill.remove_all_fill(tag)

Remove any filling layouts from a tag.

Filling layouts are built on the foundation of fillable containers and fill items (fill carriers are both fillable containers and fill items). This is why most UI components (e.g., card, layout_sidebar) possess both fillable and fill arguments (to control their fill behavior). However, sometimes it's useful to add, remove, and/or test fillable/fill properties on arbitrary Tag, which these functions are designed to do.

Parameters

tag : TagT

a Tag object.

Returns

: TagT

A copy of the original Tag object with filling layout attributes removed.

See Also