pub fn layout_middle(
area: Rect,
left: Constraint,
right: Constraint,
top: Constraint,
bottom: Constraint,
) -> RectExpand description
Calculate the middle Rect inside a given area.
pub fn layout_middle(
area: Rect,
left: Constraint,
right: Constraint,
top: Constraint,
bottom: Constraint,
) -> RectCalculate the middle Rect inside a given area.