Difference between revisions of "Button properties"

From LinuxMCE
Jump to: navigation, search
m
 
(10 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 9: Line 11:
 
'''Width''' : '''''Integer'''''
 
'''Width''' : '''''Integer'''''
  
If the text is larger than one specified width size, the control will be cut to the specified size, else the size will be exactly the render text size
+
It is ignored, may be text size or picture size, depends of what Expand property is set.
  
 
'''Height''' : '''''Integer'''''
 
'''Height''' : '''''Integer'''''
  
If the text is larger than one specified Height size, the control will be cut to the specified size, else the size will be exactly the render text size
+
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 27: Line 21:
 
That property will specify the button's text.
 
That property will specify the button's text.
  
'''PictureLeft''' : '''''String'''''
+
'''Expands''' : '''''Boolean'''''
 
+
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
+
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)

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)