Garry's Mod Wiki

ContentAlignment

Description

Alignment of a panel's contents, laid out like the keys of a number pad. Used by Panel:SetContentAlignment, DListView_Column:SetTextAlign and DNotify:SetAlignment.

These enumerations do not exist in game and are listed here only for reference

Values

BOTTOM_LEFT1Bottom-left
BOTTOM_CENTER2Bottom-center
BOTTOM_RIGHT3Bottom-right
MIDDLE_LEFT4Middle-left
CENTER5Center
MIDDLE_RIGHT6Middle-right
TOP_LEFT7Top-left
TOP_CENTER8Top-center
TOP_RIGHT9Top-right