Gets or sets the size of the tab headers.
Namespace: MindFusion.Common.UI
File: TabControl.js
SyntaxJavaScript
Copy Code
|
|---|
get tabSize() {} |
A Unit instance. The width of the tab headers in a vertical TabControl, or the height of the tab headers in a horizontal TabControl.
ExampleThe following code creates a TabControl using a reference to an HTML <div> element called "tabcontrol". It adds one TabPage to the control and selects that page:
JavaScript
Copy Code
|
|---|
// create a new instance of the TabControl control var tab = new ui.TabPage("«"); tabControl.tabs.add(tab); |
See Also