Specifies the amount of a button width used to display the button name or label property to the left of the button.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
set the titleWidth of button to pixels
# Examples
set the titleWidth of button "Options" to 90
set the titleWidth of button "Standard" to 0
# Description
Use the titleWidth property to create popup menus with a title.
The titleWidth is taken from the total width of the button. This means that setting a titleWidth makes the button narrower, and you may have to increase the width property to accommodate both title and button.
# Tags
ui,
# See
- **keyword:** integer, button - **property:** label, menuMode, name, width - **object:** button - **glossary:** property, non-negative, popup menu