FTXUI 7.0.0
C++ functional terminal UI.
Loading...
Searching...
No Matches
flex.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 The FTXUI ftxui:: namespace.
 

Functions

Element filler ()
 An element that will expand proportionally to the space left in a container.
 
Element flex (Element child)
 Make a child element to expand proportionally to the space left in a container.
 
Element xflex (Element child)
 Expand/Minimize if possible/needed on the X axis.
 
Element yflex (Element child)
 Expand/Minimize if possible/needed on the Y axis.
 
Element flex_grow (Element child)
 Expand if possible.
 
Element xflex_grow (Element child)
 Expand if possible on the X axis.
 
Element yflex_grow (Element child)
 Expand if possible on the Y axis.
 
Element flex_shrink (Element child)
 Minimize if needed.
 
Element xflex_shrink (Element child)
 Minimize if needed on the X axis.
 
Element yflex_shrink (Element child)
 Minimize if needed on the Y axis.
 
Element notflex (Element child)
 Make the element not flexible.
 
Decorator flex_factor (int grow, int shrink)
 
Decorator flex_grow_factor (int grow)
 
Decorator flex_shrink_factor (int shrink)
 
Decorator xflex_factor (int grow, int shrink)
 
Decorator xflex_grow_factor (int grow)
 
Decorator xflex_shrink_factor (int shrink)
 
Decorator yflex_factor (int grow, int shrink)
 
Decorator yflex_grow_factor (int grow)
 
Decorator yflex_shrink_factor (int shrink)
 

Variable Documentation

◆ grow_x_

int grow_x_

Definition at line 59 of file flex.cpp.

◆ grow_y_

int grow_y_

Definition at line 60 of file flex.cpp.

◆ shrink_x_

int shrink_x_

Definition at line 61 of file flex.cpp.

◆ shrink_y_

int shrink_y_

Definition at line 62 of file flex.cpp.