Difference between revisions of "Button properties"

From LinuxMCE
Jump to: navigation, search
Line 29: Line 29:
 
'''Expands''' : '''''Boolean'''''
 
'''Expands''' : '''''Boolean'''''
  
If that property is true, the button will have the size of text + left and right picture size. If that property is false, the size of button will be size of Picture + left and right picture size
+
If that property is true, the button will have the size of text + left and right picture size. If that property is false, the size of button will be size of Picture + left and right picture size.
 +
If Expands is true, the align of control is CENTER, and when the Expands is FALSE, the align of control is Left.
  
 
'''PictureLeft''' : '''''String'''''
 
'''PictureLeft''' : '''''String'''''

Revision as of 17:01, 14 April 2006

This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
Top : Integer

ListBox's Top coordinate.

Left : Integer

If that page is the first page in the wizard, that is the specified height that display screen (or wizard) will run.

Width : Integer

It is ignored, may be text size or picture size, depends of what Expand property is set.

Height : Integer

It is ignored, it has the maximum from heights of PictureLeft and PictureRight images.

FontHeight : Integer

Font size in pixels

FontName : String

Name of specified font.

Caption : String

That property will specify the button's text.

Expands : Boolean

If that property is true, the button will have the size of text + left and right picture size. If that property is false, the size of button will be size of Picture + left and right picture size. If Expands is true, the align of control is CENTER, and when the Expands is FALSE, the align of control is Left.

PictureLeft : String

That property specify the left margin of picture that one button has

PictureRight : String

That property specify the right margin of picture that one button has

Picture : String

That property specify the left margin of picture that one button has

PictureHighLeft : String

When button is highlighted/focused, that is the picture that say the left margin

PictureHighRight : String

When button is highlighted/focused, that is the picture that say the right margin

PictureHigh : String

When button is highlighted/focused, that is the texture of the button