Difference between revisions of "Button properties"

From LinuxMCE
Jump to: navigation, search
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>'''Top''' : '''''Integer'''''
+
[[Category:Programmer's Guide]]
 +
 
 +
'''Top''' : '''''Integer'''''
  
 
ListBox's Top coordinate.
 
ListBox's Top coordinate.
Line 14: Line 16:
  
 
It is ignored, it has the maximum from heights of PictureLeft and PictureRight images.
 
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'''''
 
'''Caption''' : '''''String'''''
Line 29: Line 23:
 
'''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 Width and Height.
 
+
Note: The align of the button is CENTER which means that will extends how long is the background picture or the text (depends of Expands property)
'''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
+

Latest revision as of 03:43, 1 August 2008


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.

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 Width and Height. Note: The align of the button is CENTER which means that will extends how long is the background picture or the text (depends of Expands property)