DgsCenterElement: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
{{OptionalArg}} | {{OptionalArg}} | ||
*'''remainX:''' | *'''remainX:''' Remain X position while centering the window | ||
*'''remainY:''' | *'''remainY:''' Remain Y position while centering the window |
Revision as of 18:17, 21 April 2020
Syntax
dgsCenterElement ( element,[ bool remainX, bool remainY ] )
Required Arguments
- element: The DGS element to center
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- remainX: Remain X position while centering the window
- remainY: Remain Y position while centering the window