Layout properties for an IR container node. More...
#include <design_ir.hpp>
Public Attributes | |
| std::optional< std::string > | display |
| LayoutDirection | direction = LayoutDirection::column |
| float | gap = 0.0f |
| std::optional< float > | row_gap |
| std::optional< float > | column_gap |
| float | padding_top = 0.0f |
| float | padding_right = 0.0f |
| float | padding_bottom = 0.0f |
| float | padding_left = 0.0f |
| std::optional< float > | margin_top |
| std::optional< float > | margin_right |
| std::optional< float > | margin_bottom |
| std::optional< float > | margin_left |
| LayoutAlign | justify = LayoutAlign::flex_start |
| LayoutAlign | align = LayoutAlign::stretch |
| std::optional< std::string > | align_self |
| std::optional< std::string > | align_content |
| bool | wrap = false |
| std::optional< float > | flex_grow |
| std::optional< float > | flex_shrink |
| std::optional< std::string > | flex_basis |
| std::optional< int > | order |
| std::optional< float > | aspect_ratio |
| std::optional< std::string > | overflow_x |
| std::optional< std::string > | overflow_y |
| SizingMode | width_mode = SizingMode::fixed |
| SizingMode | height_mode = SizingMode::fixed |
| std::optional< std::string > | h_constraint |
| std::optional< std::string > | v_constraint |
| std::optional< std::string > | grid_template_columns |
| std::optional< std::string > | grid_template_rows |
| std::optional< std::string > | grid_auto_flow |
| std::optional< std::string > | grid_column |
| std::optional< std::string > | grid_row |
Layout properties for an IR container node.
| LayoutAlign pulp::view::IRLayout::align = LayoutAlign::stretch |
| std::optional<std::string> pulp::view::IRLayout::align_content |
| std::optional<std::string> pulp::view::IRLayout::align_self |
| std::optional<float> pulp::view::IRLayout::aspect_ratio |
| std::optional<float> pulp::view::IRLayout::column_gap |
| LayoutDirection pulp::view::IRLayout::direction = LayoutDirection::column |
| std::optional<std::string> pulp::view::IRLayout::display |
| std::optional<std::string> pulp::view::IRLayout::flex_basis |
| std::optional<float> pulp::view::IRLayout::flex_grow |
| std::optional<float> pulp::view::IRLayout::flex_shrink |
| float pulp::view::IRLayout::gap = 0.0f |
| std::optional<std::string> pulp::view::IRLayout::grid_auto_flow |
| std::optional<std::string> pulp::view::IRLayout::grid_column |
| std::optional<std::string> pulp::view::IRLayout::grid_row |
| std::optional<std::string> pulp::view::IRLayout::grid_template_columns |
| std::optional<std::string> pulp::view::IRLayout::grid_template_rows |
| std::optional<std::string> pulp::view::IRLayout::h_constraint |
| SizingMode pulp::view::IRLayout::height_mode = SizingMode::fixed |
| LayoutAlign pulp::view::IRLayout::justify = LayoutAlign::flex_start |
| std::optional<float> pulp::view::IRLayout::margin_bottom |
| std::optional<float> pulp::view::IRLayout::margin_left |
| std::optional<float> pulp::view::IRLayout::margin_right |
| std::optional<float> pulp::view::IRLayout::margin_top |
| std::optional<int> pulp::view::IRLayout::order |
| std::optional<std::string> pulp::view::IRLayout::overflow_x |
| std::optional<std::string> pulp::view::IRLayout::overflow_y |
| float pulp::view::IRLayout::padding_bottom = 0.0f |
| float pulp::view::IRLayout::padding_left = 0.0f |
| float pulp::view::IRLayout::padding_right = 0.0f |
| float pulp::view::IRLayout::padding_top = 0.0f |
| std::optional<float> pulp::view::IRLayout::row_gap |
| std::optional<std::string> pulp::view::IRLayout::v_constraint |
| SizingMode pulp::view::IRLayout::width_mode = SizingMode::fixed |
| bool pulp::view::IRLayout::wrap = false |