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

A field's declared column span in a grid renderer. More...

#include <layout.hpp>

Public Attributes

std::string_view field
 Wire key of the field this span applies to.
int colspan {1}
 Number of grid columns the field should span. 1 (the default) is the ordinary single-column width and is never emitted as x-colspan — only values greater than 1 are.

Detailed Description

A field's declared column span in a grid renderer.

Definition at line 83 of file layout.hpp.

Member Data Documentation

◆ field

std::string_view morph::forms::FieldSpan::field

Wire key of the field this span applies to.

Definition at line 85 of file layout.hpp.

◆ colspan

int morph::forms::FieldSpan::colspan {1}

Number of grid columns the field should span. 1 (the default) is the ordinary single-column width and is never emitted as x-colspan — only values greater than 1 are.

Definition at line 90 of file layout.hpp.


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