FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
flex.cpp 文件参考

浏览该文件的源代码.

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 

函数

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)
 使元素不可伸缩。
 

变量说明

◆ f_

FlexFunction f_

在文件 flex.cpp89 行定义.