DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Spacing

 

As well as setting widgets to a fixed size, you can also introduce spaces by using the DDgui_space function :

 

DDgui_spacer([width%, height%])

 

If width% is given, then the next widget will attempt to be positioned after the given number of horizontal pixels.  A large width% value will introduce vertical spacing

 

A height% value usually has no affect on spacing.

 

Some examples :

 

DDgui_spacer(12,0)     DDgui_spacer(24,0)

img25.pngimg26.png

DDgui_spacer()

img27.png

DDgui_spacer cannot be added to a tab, as it has no ID.