PIXEL.PropertySheet
- Base panel:
Panel(opens in a new tab) - Source: cl_property_sheet.lua (opens in a new tab)
- Description: PIXEL property sheet panel with tab strip.
Methods
The following methods are available on the PIXEL.PropertySheet panel:
table PANEL:AddSheet( string, Panel, any, boolean, boolean, string )Adds a new tab and content panel to the property sheet.
PANEL:SetActiveTab( PIXEL.Tab )Sets the currently active tab.
PANEL:OnActiveTabChanged( PIXEL.Tab, PIXEL.Tab )Callback fired when active tab changes.
PANEL:SizeToContentWidth()Resizes the sheet to fit the widest content panel.
boolean PANEL:SwitchToName( string )Switches to the first tab matching a name.