TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::GridProperties Struct Reference

Grid container and item properties. More...

#include <gui_core/style/gui_style.h>

Public Member Functions

bool operator== (const GridProperties &) const noexcept=default

Public Attributes

GridAxisProperties column {}
 CSS: grid-column, column-gap.
GridAxisProperties row {}
 CSS: grid-row, row-gap.
JustifyContent justifyContent = JustifyContent::FlexStart
 CSS: justify-content.
AlignItems alignItems = AlignItems::Stretch
 CSS: align-items.
JustifyContent justifyItems = JustifyContent::FlexStart
 CSS: justify-items, when alignItemsSelf isn't Stretch.
AlignItems alignItemsSelf = AlignItems::Stretch
 Stretch: items fill their cell's width (CSS: justify-items: stretch).

Detailed Description

Grid container and item properties.

Member Function Documentation

◆ operator==()

bool tachyon::GridProperties::operator== ( const GridProperties & ) const
defaultnoexcept

Member Data Documentation

◆ column

GridAxisProperties tachyon::GridProperties::column {}

CSS: grid-column, column-gap.

◆ row

GridAxisProperties tachyon::GridProperties::row {}

CSS: grid-row, row-gap.

◆ justifyContent

JustifyContent tachyon::GridProperties::justifyContent = JustifyContent::FlexStart

CSS: justify-content.

◆ alignItems

AlignItems tachyon::GridProperties::alignItems = AlignItems::Stretch

CSS: align-items.

◆ justifyItems

JustifyContent tachyon::GridProperties::justifyItems = JustifyContent::FlexStart

CSS: justify-items, when alignItemsSelf isn't Stretch.

◆ alignItemsSelf

AlignItems tachyon::GridProperties::alignItemsSelf = AlignItems::Stretch

Stretch: items fill their cell's width (CSS: justify-items: stretch).


The documentation for this struct was generated from the following file: