Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
maki::WidgetAlignment Struct Reference

Describes how a widget should be aligned or inserted into a parent layout. More...

#include <widget_factory.h>

Public Types

enum class  Type { UNKNOWN = 0 , INLINE , VERTICAL , FORM }
 Supported alignment/layout styles for widgets. More...
enum class  Direction { UNKNOWN = 0 , LEFT , RIGHT , CENTER , SPREAD , ABOVE }

Public Attributes

enum maki::WidgetAlignment::Type type
 The alignment mode to apply.
enum maki::WidgetAlignment::Direction direction
 The alignment mode to apply.
WidgetGroup * group
 Optional form layout associated with this alignment.

Detailed Description

Describes how a widget should be aligned or inserted into a parent layout.

Member Enumeration Documentation

◆ Direction

Enumerator
UNKNOWN 

Alignment type is unknown or unspecified.

◆ Type

enum class maki::WidgetAlignment::Type
strong

Supported alignment/layout styles for widgets.

Enumerator
UNKNOWN 

Alignment type is unknown or unspecified.

INLINE 

Widget should be placed inline with other widgets.

VERTICAL 

Widget should be placed vertically.

FORM 

Widget should be placed in a form layout.


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