---
title: titleWidth
card_id: 101319
---

# titleWidth

`set [the] titleWidth of [ph:button] to [ph:integer]`

The `titleWidth` property retrieves or sets the width in pixels of a pop-up button's title area.  (The pop-up button's name appears as the menu title to the left of the collapsed button.)

You can also change the space allocated to the title  by dragging the left side of the button's content area with the Button tool or by changing the Title Width setting  in the Button Info dialog box.

## Examples

```
get the titleWidth of bg button 6

set the titleWidth of button Maps to 36 -- about 1/2 inch
```
