scrollbarWidth

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the scrollbarWidth of {<field> | <group>} to <pixels>
Associationsfield, group
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the scrollbarWidth of the last field to 20
Values
NameTypeDescription
Value

The scrollbarWidth of a field or group is an integer between 1 and the object's width.

RelatedKeyword: field, integer
Property: hScrollbar, style, vScroll, width, vScrollbar
Command: group
Object: field
Glossary: object, property, Unix, Windows, Mac OS, group
Description

Use the scrollbarWidth property to specify how much of a scrolling field's or group's 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 systems, and to 20 on Unix and Windows systems.

If a field's vScrollbar is false and its style is not scrolling, its scrollbarWidth property has no effect. If a group's 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.

Tagsui