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: 0Don't use. Unspecified.
Generated from protobuf enum HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;
START
Value: 1Default 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: 2Aligns widgets to the center of the column.
Generated from protobuf enum CENTER = 2;
END
Value: 3Aligns 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;