5#include <portals/controls.hpp>
66struct FormFieldRecord;
90 std::shared_ptr<detail::FormFieldRecord> record_;
Column(LinearOptions options={}, SizePolicy policy={})
Own settings and policies.
LinearOptions options() const
Owning copy; no invalidation.
Copyable typed observer; never owns or exposes an unchecked widget pointer.
Definition widget.hpp:92
Public Portals API.
Definition action.hpp:8
@ PENDING
Complete or abandon the owning session before submitting another frame.
Definition diff.hpp:108
FieldStatus
Presentation of the most recent explicit or editor-publication validation.
Definition form_field.hpp:16
@ VALID
The checked candidate satisfied all configured synchronous rules.
Definition form_field.hpp:18
@ UNCHECKED
No validation has been requested; required is still shown in the label.
Definition form_field.hpp:17
@ INVALID
The checked candidate was rejected; the editor retains its draft.
Definition form_field.hpp:19
@ TECHNICAL_ERROR
A technical validation failure; distinct from invalid business data.
Definition form_field.hpp:21
@ UNCHECKED
No selection.
Definition controls.hpp:267
std::expected< void, TreeError > setFormFieldValidation(WidgetTree &tree, Node< FormField > node, FieldValidation value)
constexpr SizePolicy DEFAULT_FLEX_WIDTH_POLICY
Fill available width from a zero flex basis while retaining content height.
Definition layout.hpp:47
Owning paint values; no theme engine or behavior is encoded here.
Definition controls.hpp:24
Owning validation presentation; messages remain meaningful without color.
Definition form_field.hpp:25
static FieldValidation error(std::string message={})
static FieldValidation invalid(std::string message={})
static FieldValidation pending(std::string message={})
std::string message
Optional owning UTF-8 explanation.
Definition form_field.hpp:30
static FieldValidation valid(std::string message={})
FieldStatus status
Last requested presentation.
Definition form_field.hpp:29
~FieldValidation()=default
Keep owning transfers fallible on checked standard libraries.
Owning linear container options.
Definition layout.hpp:193
Owning independent policies for width and height.
Definition layout.hpp:35
Internal bridge for checked access to managed scene and recipe state.
Definition ui_recipe_access.hpp:28