scrollbarWidth

Specifies the width of the scrollbar associated with a scrolling field or group.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the scrollbarWidth of {field | group} to pixels

# Examples

set the scrollbarWidth of the last field to 20

# Description

Use the scrollbarWidth property to specify how much of a scrolling field or group width is taken up by the vertical scrollbar.

Setting a field's or group's vScrollbar or hScrollbar property to true changes its scrollbarWidth to 16 on Mac OS, and to 20 on Unix and Windows.

If a field's vScrollbar is false and its style is not scrolling, its scrollbarWidth property has no effect. If a group vScrollbar is false, its scrollbarWidth has no effect.

>*Cross-platform note:* On Mac OS systems with the native theme enabled, > scrollbars can only be rendered at certain widths and will be padded > with the background color to achieve the chosen width.

# Tags

ui,

# See

- **keyword:** field, integer - **property:** hScrollbar, style, vScroll, width, vScrollbar - **command:** group - **object:** field - **glossary:** object, property, Unix, Windows, Mac OS, group