Padding

Defines the Padding Component.

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

Functions

new

local function new (_,
...)

Parameters

...A list of numbers defining the size of each side of the Padding Component.

Returns

A new Padding Component.

New Padding

This Component defines the Padding of a Frame.  The Padding between the Content and the Border.

See Also

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

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

Variables

top

local top

The size of the top of the Padding.

right

local right

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

bottom

local bottom

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

left

local left

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

stylesheet

local stylesheet

The Padding Component’s stylesheet.  Generated via updateStylesheet.

Functions

updateStylesheet

local function updateStylesheet ()

Updates the Padding Component’s stylesheet.

Properties

Padding Properties

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