Skip to content

piButtonWidth - cToolbar

Sets a button's width explicitly

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

Syntax

Property Integer piButtonWidth
Access Type Syntax
Read Access: Get piButtonWidth to IntegerVariable
Write Access: Set piButtonWidth to IntegerVariable/Value

Description

Usually a button's width is determined automatically by the size of the image and/or label. However, you can set the width explicitly with the piButtonWidth property, and it will override the built-in sizing.

Default is 24.