Skip to content
AnrDaemon edited this page Feb 21, 2015 · 1 revision

Settings used to layout items in a container.

Introduction

Layout Settings are currently used by nIcon to position the icon tiles, by nTray to position the tray icons, and by nTask to layout the task buttons.

Settings

Padding

Specifies how much space to leave empty along the edges of the container.

Type: Rectangle
Default Value: 0 0 0 0

Sample:

*nIcon DesktopIcons
DesktopIcons
{
	Padding
	{
		Left 10
		Top 10
		Right 10
		Bottom 10
	}
}

Start

The position to begin placing items in. TopLeft, TopRight, BottomLeft, or BottomRight.

Type: Enum
Default Value: TopLeft

PrimaryDirection

Which direction to go in first. Horizontal or Vertical.

Type: Enum
Default Value: Horizontal

ColumnSpacing

The amount of spacing between column.

Type: Numeric
Default Value: 2

RowSpacing

The amount of spacing between rows.

Type: Numeric
Default Value: 2

Sample

Coming Soon(tm)