Specifies how close text within an object can come to the object right edge, and how close objects in a group can come to the group right edge.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the rightMargin of {button | field | group} to pixels
# Examples
set the rightMargin of group "Options" to 20
# Description
Use the rightMargin property to change the amount of blank space between an object right edge and its contents.
The rightMargin property of a field or button specifies how many blank pixels are left between the object right edge and the right edge of its text. The rightMargin of a group specifies how far the group right edge extends below its rightmost object.
An object's rightMargin property is equal to item 3 of its margins property.
# Tags
ui,
# See
- **keyword:** default, item, integer, field, button - **property:** wideMargins, pixels, margins, acceleratorText - **command:** group - **object:** field - **glossary:** object, property, non-negative, group