Enums/DOCK

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
 
{{Enumeration
 
{{Enumeration
 
|Description=Enumerations used by {{ClassFunction|Panel|Dock}}.
 
|Description=Enumerations used by {{ClassFunction|Panel|Dock}}.
|Fields=
+
{{Note|These enumerations doesn't have DOCK_ prefix, this is an exception from all other enumerations.}}
{{EnumField|NODOCK|0|Don't dock}}
+
|Fields={{EnumField|NODOCK|0|Don't dock}}{{EnumField|FILL|1|Fill parent}}{{EnumField|LEFT|2|Dock to the left}}{{EnumField|RIGHT|3|Dock to the right}}{{EnumField|TOP|4|Dock to the top}}{{EnumField|BOTTOM|5|Dock to the bottom}}
{{EnumField|FILL|1|Fill parent}}
+
{{EnumField|LEFT|2|Dock to the left}}
+
{{EnumField|RIGHT|3|Dock to the right}}
+
{{EnumField|TOP|4|Dock to the top}}
+
{{EnumField|BOTTOM|5|Dock to the bottom}}
+
 
}}
 
}}

Latest revision as of 23:39, 8 January 2020

Enumerations used by Panel:Dock.

NOTE

These enumerations doesn't have DOCK_ prefix, this is an exception from all other enumerations.



Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
NODOCK 0 Don't dock
FILL 1 Fill parent
LEFT 2 Dock to the left
RIGHT 3 Dock to the right
TOP 4 Dock to the top
BOTTOM 5 Dock to the bottom
Personal tools
Navigation