morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::TableColumn Struct Reference

One column of a Table. More...

#include <view.hpp>

Public Attributes

std::string label
 The header caption.
Sizing width = Sizing::content()
 The column's width request.
TextRole role = TextRole::Normal
 The text style of this column's default cell; Normal renders unchanged. Has no effect on a column with its own .cell, or on a Table constructed directly without going through the interpreter.

Detailed Description

One column of a Table.

Definition at line 876 of file view.hpp.

Member Data Documentation

◆ label

std::string morph::ui::TableColumn::label

The header caption.

Definition at line 878 of file view.hpp.

◆ width

Sizing morph::ui::TableColumn::width = Sizing::content()

The column's width request.

Definition at line 880 of file view.hpp.

◆ role

TextRole morph::ui::TableColumn::role = TextRole::Normal

The text style of this column's default cell; Normal renders unchanged. Has no effect on a column with its own .cell, or on a Table constructed directly without going through the interpreter.

Definition at line 883 of file view.hpp.


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