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

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI ftxui:: 命名空間
 

Functions

Element filler ()
 一個會依照容器中剩餘空間 按比例擴展的元素。
 
Element flex (Element child)
 讓子元素依比例擴展以填滿容器中剩餘的空間。
 
Element xflex (Element child)
 在 X 軸上盡可能擴展/在需要時最小化。
 
Element yflex (Element child)
 在 Y 軸上盡可能擴展/在需要時最小化。
 
Element flex_grow (Element child)
 盡可能擴展。
 
Element xflex_grow (Element child)
 在 X 軸上盡可能擴展。
 
Element yflex_grow (Element child)
 在 Y 軸上盡可能擴展。
 
Element flex_shrink (Element child)
 在需要時最小化。
 
Element xflex_shrink (Element child)
 在 X 軸上在需要時最小化。
 
Element yflex_shrink (Element child)
 在 Y 軸上在需要時最小化。
 
Element notflex (Element child)
 使元素不可伸縮。
 
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.