w2layout.panels

Array of panel objects.
Array, default = []
See .panel_template() for all porpeties in this object.
If you change this array during run-time you will need to call .refresh() method to update layout on the screen. It is not recommended to change this array after the object has been created. You should use .set() method to change panels dynamically, which will refresh the panel you changed. As of version 1.2+ you can add w2tabs or/and w2toolbar object at the top of the panel. As of version 1.5+ you can set negative size of left and right panel. If size is negative, the panel will take all available size minus the size you specified. In other words the size of the panel (only left or right) will be 100% of available size - defined size of the panel.

User Comments

comments powered by Disqus