DgsCenterElement: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
===Required Arguments=== | ===Required Arguments=== | ||
[[Image:Dx_6.PNG|frame|Example Dx Window.]] | [[Image:Dx_6.PNG|frame|Example Dx Window.]] | ||
*'''element:''' | *'''element:''' The DGS element to center | ||
===Optional Arguments=== | ===Optional Arguments=== |
Revision as of 18:10, 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: An int of the color of the title text of the window.
- remainY: A float of the height of the title of the window.