Height: Number;
The Height property sets the height of the component.
Use JSON or the setHeight property to set the property value, and the getHeight method to get the property value.
To execute the example, link the PP.js library and PP.css style table to the HTML page. Seebelow the Javascript code used to create a button with the specified size.
<script type="text/javascript"> var b1 = new PP.Ui.Button({ ParentNode: document.getElementById("b1"), Content: "Select", Width: 100, Height: 100}); </script>
After executing the example the button with the Select inscription with the 100x100 pixels size is created on the HTML page.
See also: