Deutsches LiveCode Wiki
Advertisement

Specifies the amount of a button's width used to display the button's name or label property to the left of the button(keyword).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

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.

See also: button (object),label (property),menuMode (property),name (property),width (property),

Advertisement