Reference documentation and code samples for the Google Apps Chat V1 Client class HorizontalAlignment.
Specifies whether widgets align to the left, right, or center of a column.
Protobuf type google.apps.card.v1.Widget.HorizontalAlignment
Namespace
Google \ Apps \ Card \ V1 \ WidgetMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
HORIZONTAL_ALIGNMENT_UNSPECIFIED
Value: 0
Don't use. Unspecified.
Generated from protobuf enum HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;
START
Value: 1
Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.
Generated from protobuf enum START = 1;
CENTER
Value: 2
Aligns widgets to the center of the column.
Generated from protobuf enum CENTER = 2;
END
Value: 3
Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left.
Generated from protobuf enum END = 3;