Skip to content

pbAutoSize - cToolbarButton

Allows you to create buttons with variable width

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbAutoSize
Access Type Syntax
Read Access: Get pbAutoSize to BooleanVariable
Write Access: Set pbAutoSize to BooleanVariable/Value

Description

By setting the pbAutoSize property to True, the width of the button will be calculated from the size of the label. This allows you to create buttons with variable width, and is typically used when the toolbar's pbList property is True.

Default is true.