Margin

Defines a Margin Component.

Summary
MarginDefines a Margin Component.
Functions
new
New MarginThis Component defines the Margin of a Frame.
Variables
topThe size of the top of the Margin.
rightThe size of the right side of the Margin.
bottomThe size of the bottom of the Margin.
leftThe size of the left side of the Margin.
stylesheetThe Margin Component’s stylesheet.
Functions
updateStylesheetUpdates the Margin Component’s stylesheet.
Properties
Margin Properties

Functions

new

local function new (_,
...)

Parameters

...A list of numbers defining the size of each side of the Margin.

Returns

A new Margin Component.

New Margin

This Component defines the Margin of a Frame.  The Margin is the exterior part of the Frame.

See Also

http://doc.qt.nokia.com/4.7-snapshot/stylesheet-customizing.html

Summary
Variables
topThe size of the top of the Margin.
rightThe size of the right side of the Margin.
bottomThe size of the bottom of the Margin.
leftThe size of the left side of the Margin.
stylesheetThe Margin Component’s stylesheet.
Functions
updateStylesheetUpdates the Margin Component’s stylesheet.
Properties
Margin Properties

Variables

top

local top

The size of the top of the Margin.

right

local right

The size of the right side of the Margin.  Defaults to top.

bottom

local bottom

The size of the bottom of the Margin.  Defaults to top.

left

local left

The size of the left side of the Margin.  Defaults to right.

stylesheet

local stylesheet

The Margin Component’s stylesheet.  Generated via updateStylesheet.

Functions

updateStylesheet

local function updateStylesheet ()

Updates the Margin Component’s stylesheet.

Properties

Margin Properties

TopGets and sets the size of a side of the Margin Component.
RightGets and sets the size of a side of the Margin Component.
BottomGets and sets the size of a side of the Margin Component.
LeftGets and sets the size of a side of the Margin Component.
StylesheetUpdates and returns the Margin Component’s stylesheet.
local function new (_,
...)
Defines the primary container for Vyzor Components.
local top
The size of the top of the Margin.
local right
The size of the right side of the Margin.
local bottom
The size of the bottom of the Margin.
local left
The size of the left side of the Margin.
local stylesheet
The Margin Component’s stylesheet.
local function updateStylesheet ()
Updates the Margin Component’s stylesheet.
Close