morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
field_layout.hpp File Reference

morph::forms::FieldLayout: where a form's cell puts a field's caption. The forms engine and the authoring API share it. Specified in docs/spec/forms/engine.md, "Rendering". More...

#include <cstdint>

Go to the source code of this file.

Enumerations

enum class  morph::forms::FieldLayout : std::uint8_t { Stacked , Inline }
 Where a form's cell puts a field's caption, relative to its control. More...

Detailed Description

morph::forms::FieldLayout: where a form's cell puts a field's caption. The forms engine and the authoring API share it. Specified in docs/spec/forms/engine.md, "Rendering".

Definition in file field_layout.hpp.

Enumeration Type Documentation

◆ FieldLayout

enum class morph::forms::FieldLayout : std::uint8_t
strong

Where a form's cell puts a field's caption, relative to its control.

Enumerator
Stacked 

The label over the control over the help.

Inline 

The label beside the control, at a fixed width, centred on it; the help under the control.

Definition at line 13 of file field_layout.hpp.