compute_tab

Function compute_tab 

Source
pub fn compute_tab(
    layout_properties: Property<LayoutProperties>,
    extra_transform: Property<Option<Transform2D>>,
    container_transform_and_bounds: Property<TransformAndBounds<NodeLocal, Window>>,
) -> Property<TransformAndBounds<NodeLocal, Window>>
Expand description

For the current_expanded_node attached to ptc, calculates and returns a new [crate::rendering::TransformAndBounds] a.k.a. “tab”. Intended as a helper method to be called during properties computation, for creating a new tab to attach to ptc for downstream calculations.